Class ExclusiveLockHolder.RemoveLocks
- java.lang.Object
-
- com.oracle.coherence.concurrent.locks.internal.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 isnull).- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected com.tangosol.util.UUIDm_memberIdThe member UID to remove all the locks for.
-
Constructor Summary
Constructors Constructor Description RemoveLocks()Default no-arg constructor.RemoveLocks(com.tangosol.util.UUID memberId)Create a RemoveLocks processor with the given member id.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Voidprocess(com.tangosol.util.InvocableMap.Entry<String,ExclusiveLockHolder> entry)voidreadExternal(com.tangosol.io.pof.PofReader in)voidreadExternal(DataInput in)voidwriteExternal(com.tangosol.io.pof.PofWriter out)voidwriteExternal(DataOutput out)
-
-
-
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 isnull).
-
-
Method Detail
-
process
public Void process(com.tangosol.util.InvocableMap.Entry<String,ExclusiveLockHolder> entry)
- Specified by:
processin interfacecom.tangosol.util.InvocableMap.EntryProcessor<String,ExclusiveLockHolder,Void>
-
readExternal
public void readExternal(DataInput in) throws IOException
- Specified by:
readExternalin interfacecom.tangosol.io.ExternalizableLite- Throws:
IOException
-
writeExternal
public void writeExternal(DataOutput out) throws IOException
- Specified by:
writeExternalin interfacecom.tangosol.io.ExternalizableLite- Throws:
IOException
-
readExternal
public void readExternal(com.tangosol.io.pof.PofReader in) throws IOException- Specified by:
readExternalin interfacecom.tangosol.io.pof.PortableObject- Throws:
IOException
-
writeExternal
public void writeExternal(com.tangosol.io.pof.PofWriter out) throws IOException- Specified by:
writeExternalin interfacecom.tangosol.io.pof.PortableObject- Throws:
IOException
-
-