Class Role
- java.lang.Object
-
- com.oracle.coherence.concurrent.executor.options.Role
-
- All Implemented Interfaces:
TaskExecutorService.Registration.Option,ExternalizableLite,PortableObject,Serializable
public class Role extends Object implements TaskExecutorService.Registration.Option, 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(PofReader in)voidreadExternal(DataInput in)StringtoString()voidwriteExternal(PofWriter out)voidwriteExternal(DataOutput out)
-
-
-
Method Detail
-
readExternal
public void readExternal(DataInput in) throws IOException
- Specified by:
readExternalin interfaceExternalizableLite- Throws:
IOException
-
writeExternal
public void writeExternal(DataOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizableLite- Throws:
IOException
-
readExternal
public void readExternal(PofReader in) throws IOException
- Specified by:
readExternalin interfacePortableObject- Throws:
IOException
-
writeExternal
public void writeExternal(PofWriter out) throws IOException
- Specified by:
writeExternalin interfacePortableObject- Throws:
IOException
-
-