Class SemaphoreStatus.RemovePermits

  • All Implemented Interfaces:
    com.tangosol.io.ExternalizableLite, com.tangosol.io.pof.PortableObject, com.tangosol.util.InvocableMap.EntryProcessor<String,​SemaphoreStatus,​Void>, Serializable
    Enclosing class:
    SemaphoreStatus

    public static class SemaphoreStatus.RemovePermits
    extends Object
    implements com.tangosol.util.InvocableMap.EntryProcessor<String,​SemaphoreStatus,​Void>, com.tangosol.io.ExternalizableLite, com.tangosol.io.pof.PortableObject
    An EntryProcessor that will remove acquired permits for the provided member ID, or all the permits for the members that are not in the cluster any longer.
    See Also:
    Serialized Form
    • Field Detail

      • m_memberId

        protected com.tangosol.util.UUID m_memberId
        The member UUID to remove all the permits for.
    • Constructor Detail

      • RemovePermits

        public RemovePermits()
        Default constructor (necessary for the ExternalizableLite interface).
      • RemovePermits

        public RemovePermits​(com.tangosol.util.UUID memberId)
        Create an instance of SemaphoreStatus.
        Parameters:
        memberId - the UUID of the Coherence member
    • Method Detail

      • readExternal

        public void readExternal​(DataInput in)
                          throws IOException
        Specified by:
        readExternal in interface com.tangosol.io.ExternalizableLite
        Throws:
        IOException
      • writeExternal

        public void writeExternal​(DataOutput out)
                           throws IOException
        Specified by:
        writeExternal in interface com.tangosol.io.ExternalizableLite
        Throws:
        IOException
      • readExternal

        public void readExternal​(com.tangosol.io.pof.PofReader in)
                          throws IOException
        Specified by:
        readExternal in interface com.tangosol.io.pof.PortableObject
        Throws:
        IOException
      • writeExternal

        public void writeExternal​(com.tangosol.io.pof.PofWriter out)
                           throws IOException
        Specified by:
        writeExternal in interface com.tangosol.io.pof.PortableObject
        Throws:
        IOException