Class Name
java.lang.Object
com.oracle.coherence.concurrent.executor.options.Name
- All Implemented Interfaces:
com.oracle.coherence.concurrent.executor.TaskExecutorService.Registration.Option
,ExternalizableLite
,PortableObject
,Serializable
public class Name
extends Object
implements com.oracle.coherence.concurrent.executor.TaskExecutorService.Registration.Option, PortableObject
- Since:
- 21.12
- Author:
- rl 11.12.2021
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getName()
Obtains the name of theName
.int
hashCode()
static Name
Obtains aName
with a specific name.void
Restore the contents of a user type instance by reading its state using the specified PofReader object.void
Restore the contents of this object by loading the object's state from the passed DataInput object.toString()
void
writeExternal
(PofWriter out) Save the contents of a POF user type instance by writing its state using the specified PofWriter object.void
writeExternal
(DataOutput out) Save the contents of this object by storing the object's state into the passed DataOutput object.
-
Field Details
-
UNNAMED
Name group for executors registered without a name. -
m_sName
The name of theName
.
-
-
Constructor Details
-
Method Details
-
getName
Obtains the name of theName
.- Returns:
- the name of the
Name
-
of
Obtains aName
with a specific name. -
equals
-
hashCode
public int hashCode() -
toString
-
readExternal
Description copied from interface:ExternalizableLite
Restore the contents of this object by loading the object's state from the passed DataInput object.- Specified by:
readExternal
in interfaceExternalizableLite
- Parameters:
in
- the DataInput stream to read data from in order to restore the state of this object- Throws:
IOException
- if an I/O exception occurs
-
writeExternal
Description copied from interface:ExternalizableLite
Save the contents of this object by storing the object's state into the passed DataOutput object.- Specified by:
writeExternal
in interfaceExternalizableLite
- Parameters:
out
- the DataOutput stream to write the state of this object to- Throws:
IOException
- if an I/O exception occurs
-
readExternal
Description copied from interface:PortableObject
Restore the contents of a user type instance by reading its state using the specified PofReader object.- Specified by:
readExternal
in interfacePortableObject
- Parameters:
in
- the PofReader from which to read the object's state- Throws:
IOException
- if an I/O error occurs
-
writeExternal
Description copied from interface:PortableObject
Save the contents of a POF user type instance by writing its state using the specified PofWriter object.- Specified by:
writeExternal
in interfacePortableObject
- Parameters:
out
- the PofWriter to which to write the object's state- Throws:
IOException
- if an I/O error occurs
-