Class Predicates.OptionPredicate
java.lang.Object
com.oracle.coherence.concurrent.executor.function.Predicates.OptionPredicate
- 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.OptionPredicate
extends Object
implements PortablePredicate<com.oracle.coherence.concurrent.executor.TaskExecutorService.ExecutorInfo>
A
Remote.Predicate to determine if an TaskExecutorService.ExecutorInfo has a specific TaskExecutorService.Registration.Option.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.oracle.coherence.concurrent.executor.TaskExecutorService.Registration.OptionTheTaskExecutorService.Registration.Option. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs aPredicates.OptionPredicate(required for serialization).OptionPredicate(com.oracle.coherence.concurrent.executor.TaskExecutorService.Registration.Option option) Constructs aPredicates.OptionPredicate. -
Method Summary
Modifier and TypeMethodDescriptionvoidRestore 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.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.tangosol.util.function.Remote.Predicate
and, negate, or
-
Field Details
-
m_option
protected com.oracle.coherence.concurrent.executor.TaskExecutorService.Registration.Option m_optionTheTaskExecutorService.Registration.Option.
-
-
Constructor Details
-
OptionPredicate
public OptionPredicate()Constructs aPredicates.OptionPredicate(required for serialization). -
OptionPredicate
public OptionPredicate(com.oracle.coherence.concurrent.executor.TaskExecutorService.Registration.Option option) Constructs aPredicates.OptionPredicate.- Parameters:
option- theTaskExecutorService.Registration.Option
-
-
Method Details
-
test
public boolean test(com.oracle.coherence.concurrent.executor.TaskExecutorService.ExecutorInfo executorInfo) -
readExternal
Description copied from interface:PortableObjectRestore the contents of a user type instance by reading its state using the specified PofReader object.- Specified by:
readExternalin interfacePortableObject- Specified by:
readExternalin interfacePortablePredicate<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
-
writeExternal
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 interfacePortableObject- Specified by:
writeExternalin interfacePortablePredicate<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
-