Class 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:
    Serialized Form
    • Field Detail

      • m_option

        protected com.oracle.coherence.concurrent.executor.TaskExecutorService.Registration.Option m_option
        The TaskExecutorService.Registration.Option.
    • Constructor Detail

      • OptionPredicate

        public OptionPredicate​(com.oracle.coherence.concurrent.executor.TaskExecutorService.Registration.Option option)
        Parameters:
        option - the TaskExecutorService.Registration.Option
    • Method Detail

      • test

        public boolean test​(com.oracle.coherence.concurrent.executor.TaskExecutorService.ExecutorInfo executorInfo)
        Specified by:
        test in interface Predicate<com.oracle.coherence.concurrent.executor.TaskExecutorService.ExecutorInfo>
      • readExternal

        public void readExternal​(PofReader in)
                          throws IOException
        Description copied from interface: PortableObject
        Restore the contents of a user type instance by reading its state using the specified PofReader object.
        Specified by:
        readExternal in interface PortableObject
        Specified by:
        readExternal in 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
      • writeExternal

        public void writeExternal​(PofWriter out)
                           throws IOException
        Description copied from interface: PortableObject
        Save the contents of a POF user type instance by writing its state using the specified PofWriter object.
        Specified by:
        writeExternal in interface PortableObject
        Specified by:
        writeExternal in 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