Class SemaphoreStatus.RemovePermits
- java.lang.Object
-
- com.oracle.coherence.concurrent.internal.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 Summary
Fields Modifier and Type Field Description protected com.tangosol.util.UUIDm_memberIdThe member UUID to remove all the permits for.
-
Constructor Summary
Constructors Constructor Description RemovePermits()Default constructor (necessary for the ExternalizableLite interface).RemovePermits(com.tangosol.util.UUID memberId)Create an instance ofSemaphoreStatus.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Voidprocess(com.tangosol.util.InvocableMap.Entry<String,SemaphoreStatus> entry)voidreadExternal(com.tangosol.io.pof.PofReader in)voidreadExternal(DataInput in)voidwriteExternal(com.tangosol.io.pof.PofWriter out)voidwriteExternal(DataOutput out)
-
-
-
Method Detail
-
process
public Void process(com.tangosol.util.InvocableMap.Entry<String,SemaphoreStatus> entry)
- Specified by:
processin interfacecom.tangosol.util.InvocableMap.EntryProcessor<String,SemaphoreStatus,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
-
-