Class Role
- java.lang.Object
-
- com.oracle.coherence.concurrent.executor.options.Role
-
- All Implemented Interfaces:
TaskExecutorService.Registration.Option,com.tangosol.io.ExternalizableLite,com.tangosol.io.pof.PortableObject,Serializable
public class Role extends Object implements TaskExecutorService.Registration.Option, com.tangosol.io.pof.PortableObject
AnTaskExecutorService.Registration.Optionto specify theRoleof anExecutorwhen it is registered.- Since:
- 21.12
- Author:
- bo
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object object)StringgetName()Obtains the name of theRole.inthashCode()static Roleof(String sName)Obtains aRolewith a specific name.voidreadExternal(com.tangosol.io.pof.PofReader in)voidreadExternal(DataInput in)StringtoString()voidwriteExternal(com.tangosol.io.pof.PofWriter out)voidwriteExternal(DataOutput out)
-
-
-
Method Detail
-
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
-
-