Class Predicates.RolePredicate
- java.lang.Object
- 
- com.oracle.coherence.concurrent.executor.function.Predicates.RolePredicate
 
- 
- All Implemented Interfaces:
- PortablePredicate<com.oracle.coherence.concurrent.executor.TaskExecutorService.ExecutorInfo>,- PortableObject,- Remote.Predicate<com.oracle.coherence.concurrent.executor.TaskExecutorService.ExecutorInfo>,- Serializable,- Predicate<com.oracle.coherence.concurrent.executor.TaskExecutorService.ExecutorInfo>
 - Enclosing class:
- Predicates
 
 public static class Predicates.RolePredicate extends Object implements PortablePredicate<com.oracle.coherence.concurrent.executor.TaskExecutorService.ExecutorInfo> ARemote.Predicatefor matching the name of aRole.- See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected Stringm_sPatternThe pattern for matching aRolename.
 - 
Constructor SummaryConstructors Constructor Description RolePredicate()Constructs aPredicates.RolePredicate(required for serialization).RolePredicate(String sPattern)Constructs aPredicates.RolePredicate.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidreadExternal(PofReader in)Restore the contents of a user type instance by reading its state using the specified PofReader object.booleantest(com.oracle.coherence.concurrent.executor.TaskExecutorService.ExecutorInfo executorInfo)voidwriteExternal(PofWriter out)Save the contents of a POF user type instance by writing its state using the specified PofWriter object.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.tangosol.util.function.Remote.Predicateand, negate, or
 
- 
 
- 
- 
- 
Constructor Detail- 
RolePredicatepublic RolePredicate() Constructs aPredicates.RolePredicate(required for serialization).
 - 
RolePredicatepublic RolePredicate(String sPattern) Constructs aPredicates.RolePredicate.- Parameters:
- sPattern- the pattern to match
 
 
- 
 - 
Method Detail- 
testpublic boolean test(com.oracle.coherence.concurrent.executor.TaskExecutorService.ExecutorInfo executorInfo) 
 - 
readExternalpublic void readExternal(PofReader in) throws IOException Description copied from interface:PortableObjectRestore the contents of a user type instance by reading its state using the specified PofReader object.- Specified by:
- readExternalin interface- PortableObject
- Specified by:
- readExternalin interface- PortablePredicate<com.oracle.coherence.concurrent.executor.TaskExecutorService.ExecutorInfo>
- Parameters:
- in- the PofReader from which to read the object's state
- Throws:
- IOException- if an I/O error occurs
 
 - 
writeExternalpublic void writeExternal(PofWriter out) throws IOException Description copied from interface:PortableObjectSave the contents of a POF user type instance by writing its state using the specified PofWriter object.- Specified by:
- writeExternalin interface- PortableObject
- Specified by:
- writeExternalin interface- PortablePredicate<com.oracle.coherence.concurrent.executor.TaskExecutorService.ExecutorInfo>
- Parameters:
- out- the PofWriter to which to write the object's state
- Throws:
- IOException- if an I/O error occurs
 
 
- 
 
-