Class Description
- java.lang.Object
-
- com.oracle.coherence.concurrent.executor.options.Description
-
- All Implemented Interfaces:
TaskExecutorService.Registration.Option,com.tangosol.io.ExternalizableLite,com.tangosol.io.pof.PortableObject,Serializable
public class Description extends Object implements TaskExecutorService.Registration.Option, com.tangosol.io.pof.PortableObject
AnTaskExecutorService.Registration.Optionto specify theDescriptionof a registeredExecutorService. This option shouldn't be used for targeting tasks.- Since:
- 21.12
- Author:
- rl 11.12.2021
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringm_sDescriptionThe details of the executor.static DescriptionUNKNOWNThe description to use when no description has been provided.
-
Constructor Summary
Constructors Modifier Constructor Description Description()Constructs aDescription(required for serialization).protectedDescription(String sDescription)Constructs aDescriptionobject.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object object)StringgetName()Obtains the theDescription.inthashCode()static Descriptionof(String sDescription)Obtains aDescriptionbased on the provided argument.voidreadExternal(com.tangosol.io.pof.PofReader in)voidreadExternal(DataInput in)StringtoString()voidwriteExternal(com.tangosol.io.pof.PofWriter out)voidwriteExternal(DataOutput out)
-
-
-
Field Detail
-
UNKNOWN
public static Description UNKNOWN
The description to use when no description has been provided.
-
m_sDescription
protected String m_sDescription
The details of the executor.
-
-
Constructor Detail
-
Description
public Description()
Constructs aDescription(required for serialization).
-
Description
protected Description(String sDescription)
Constructs aDescriptionobject.- Parameters:
sDescription- the description of the executor
-
-
Method Detail
-
getName
public String getName()
Obtains the theDescription.- Returns:
- a
Description
-
of
public static Description of(String sDescription)
Obtains aDescriptionbased on the provided argument.- Parameters:
sDescription- the description- Returns:
- a
Description
-
readExternal
public void readExternal(DataInput in) throws IOException
- Specified by:
readExternalin interfacecom.tangosol.io.ExternalizableLite- Throws:
IOException
-
writeExternal
public void writeExternal(DataOutput out) throws IOException
- Specified by:
writeExternalin interfacecom.tangosol.io.ExternalizableLite- Throws:
IOException
-
readExternal
public void readExternal(com.tangosol.io.pof.PofReader in) throws IOException- Specified by:
readExternalin interfacecom.tangosol.io.pof.PortableObject- Throws:
IOException
-
writeExternal
public void writeExternal(com.tangosol.io.pof.PofWriter out) throws IOException- Specified by:
writeExternalin interfacecom.tangosol.io.pof.PortableObject- Throws:
IOException
-
-