Class Predicates.RolePredicate
- java.lang.Object
-
- com.oracle.coherence.concurrent.executor.function.Predicates.RolePredicate
-
- All Implemented Interfaces:
PortablePredicate<TaskExecutorService.ExecutorInfo>,PortableObject,Remote.Predicate<TaskExecutorService.ExecutorInfo>,Serializable,Predicate<TaskExecutorService.ExecutorInfo>
- Enclosing class:
- Predicates
public static class Predicates.RolePredicate extends Object implements PortablePredicate<TaskExecutorService.ExecutorInfo>
ARemote.Predicatefor matching the name of aRole.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringm_sPatternThe pattern for matching aRolename.
-
Constructor Summary
Constructors Constructor Description RolePredicate()Constructs aPredicates.RolePredicate(required for serialization).RolePredicate(String sPattern)Constructs aPredicates.RolePredicate.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidreadExternal(PofReader in)booleantest(TaskExecutorService.ExecutorInfo executorInfo)voidwriteExternal(PofWriter out)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.tangosol.util.function.Remote.Predicate
and, negate, or
-
-
-
-
Constructor Detail
-
RolePredicate
public RolePredicate()
Constructs aPredicates.RolePredicate(required for serialization).
-
RolePredicate
public RolePredicate(String sPattern)
Constructs aPredicates.RolePredicate.- Parameters:
sPattern- the pattern to match
-
-
Method Detail
-
test
public boolean test(TaskExecutorService.ExecutorInfo executorInfo)
- Specified by:
testin interfacePredicate<TaskExecutorService.ExecutorInfo>
-
readExternal
public void readExternal(PofReader in) throws IOException
- Specified by:
readExternalin interfacePortableObject- Specified by:
readExternalin interfacePortablePredicate<TaskExecutorService.ExecutorInfo>- Throws:
IOException
-
writeExternal
public void writeExternal(PofWriter out) throws IOException
- Specified by:
writeExternalin interfacePortableObject- Specified by:
writeExternalin interfacePortablePredicate<TaskExecutorService.ExecutorInfo>- Throws:
IOException
-
-