Class ExclusiveLockHolder.RemoveLocks

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

    public static class ExclusiveLockHolder.RemoveLocks
    extends Object
    implements com.tangosol.util.InvocableMap.EntryProcessor<String,​ExclusiveLockHolder,​Void>, com.tangosol.io.ExternalizableLite, com.tangosol.io.pof.PortableObject
    An EntryProcessor that will remove locks for the provided member ID, or all the locks for the members that are not in the cluster any longer (if the specified member ID is null).
    See Also:
    Serialized Form
    • Field Detail

      • m_memberId

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

      • RemoveLocks

        public RemoveLocks()
        Default no-arg constructor.
      • RemoveLocks

        public RemoveLocks​(com.tangosol.util.UUID memberId)
        Create a RemoveLocks processor with the given member id.
        Parameters:
        memberId - remove all LockHolders that have this member id, or all the locks for the members that are not in the cluster any longer (if the specified member ID is null).
    • 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