Class Predicates.OptionPredicate
- java.lang.Object
-
- com.oracle.coherence.concurrent.executor.function.Predicates.OptionPredicate
-
- All Implemented Interfaces:
PortablePredicate<TaskExecutorService.ExecutorInfo>,PortableObject,Remote.Predicate<TaskExecutorService.ExecutorInfo>,Serializable,Predicate<TaskExecutorService.ExecutorInfo>
- Enclosing class:
- Predicates
public static class Predicates.OptionPredicate extends Object implements PortablePredicate<TaskExecutorService.ExecutorInfo>
ARemote.Predicateto determine if anTaskExecutorService.ExecutorInfohas a specificTaskExecutorService.Registration.Option.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected TaskExecutorService.Registration.Optionm_option
-
Constructor Summary
Constructors Constructor Description OptionPredicate()Constructs aPredicates.OptionPredicate(required for serialization).OptionPredicate(TaskExecutorService.Registration.Option option)Constructs aPredicates.OptionPredicate.
-
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
-
-
-
-
Field Detail
-
m_option
protected TaskExecutorService.Registration.Option m_option
-
-
Constructor Detail
-
OptionPredicate
public OptionPredicate()
Constructs aPredicates.OptionPredicate(required for serialization).
-
OptionPredicate
public OptionPredicate(TaskExecutorService.Registration.Option option)
Constructs aPredicates.OptionPredicate.- Parameters:
option- theTaskExecutorService.Registration.Option
-
-
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
-
-