Class SemaphoreStatus.RemovePermits
- java.lang.Object
-
- com.oracle.coherence.concurrent.internal.SemaphoreStatus.RemovePermits
-
- All Implemented Interfaces:
ExternalizableLite,PortableObject,InvocableMap.EntryProcessor<String,SemaphoreStatus,Void>,Serializable
- Enclosing class:
- SemaphoreStatus
public static class SemaphoreStatus.RemovePermits extends Object implements InvocableMap.EntryProcessor<String,SemaphoreStatus,Void>, ExternalizableLite, 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 UIDm_memberIdThe member UID to remove all the permits for.
-
Constructor Summary
Constructors Constructor Description RemovePermits()Default constructor (necessary for the ExternalizableLite interface).RemovePermits(UID memberId)Create an instance ofSemaphoreStatus.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Voidprocess(InvocableMap.Entry<String,SemaphoreStatus> entry)voidreadExternal(PofReader in)voidreadExternal(DataInput in)voidwriteExternal(PofWriter out)voidwriteExternal(DataOutput out)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.tangosol.util.InvocableMap.EntryProcessor
processAll
-
-
-
-
Field Detail
-
m_memberId
protected UID m_memberId
The member UID to remove all the permits for.
-
-
Constructor Detail
-
RemovePermits
public RemovePermits()
Default constructor (necessary for the ExternalizableLite interface).
-
RemovePermits
public RemovePermits(UID memberId)
Create an instance ofSemaphoreStatus.- Parameters:
memberId-
-
-
Method Detail
-
process
public Void process(InvocableMap.Entry<String,SemaphoreStatus> entry)
- Specified by:
processin interfaceInvocableMap.EntryProcessor<String,SemaphoreStatus,Void>
-
readExternal
public void readExternal(DataInput in) throws IOException
- Specified by:
readExternalin interfaceExternalizableLite- Throws:
IOException
-
writeExternal
public void writeExternal(DataOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizableLite- Throws:
IOException
-
readExternal
public void readExternal(PofReader in) throws IOException
- Specified by:
readExternalin interfacePortableObject- Throws:
IOException
-
writeExternal
public void writeExternal(PofWriter out) throws IOException
- Specified by:
writeExternalin interfacePortableObject- Throws:
IOException
-
-