Uses of Class
org.jgroups.util.Owner
-
Packages that use Owner Package Description org.jgroups.blocks.locking org.jgroups.demos Provides demonstrations of JGroups functionality.org.jgroups.protocols Provides implementations of transport protocols which are responsible for sending and receiving messages to/from the network.org.jgroups.util Provides useful functionality which cannot be assigned to any particular other package. -
-
Uses of Owner in org.jgroups.blocks.locking
Methods in org.jgroups.blocks.locking with parameters of type Owner Modifier and Type Method Description void
LockNotification. awaited(java.lang.String lock_name, Owner owner)
void
LockNotification. awaiting(java.lang.String lock_name, Owner owner)
void
LockNotification. locked(java.lang.String lock_name, Owner owner)
void
LockNotification. lockRevoked(java.lang.String lock_name, Owner current_owner)
void
LockNotification. unlocked(java.lang.String lock_name, Owner owner)
-
Uses of Owner in org.jgroups.demos
Methods in org.jgroups.demos with parameters of type Owner Modifier and Type Method Description void
LockServiceDemo. awaited(java.lang.String lock_name, Owner owner)
void
LockServiceDemo. awaiting(java.lang.String lock_name, Owner owner)
void
LockServiceDemo. locked(java.lang.String lock_name, Owner owner)
void
LockServiceDemo. lockRevoked(java.lang.String lock_name, Owner current_owner)
void
LockServiceDemo. unlocked(java.lang.String lock_name, Owner owner)
-
Uses of Owner in org.jgroups.protocols
Fields in org.jgroups.protocols declared as Owner Modifier and Type Field Description protected Owner
COUNTER.SimpleRequest. owner
protected Owner
COUNTER.SimpleResponse. owner
protected Owner
Locking.ClientLock. owner
protected Owner
Locking.Request. owner
protected Owner
Locking.Response. owner
protected Owner
Locking.ServerLock. owner
Fields in org.jgroups.protocols with type parameters of type Owner Modifier and Type Field Description protected java.util.List<Tuple<java.lang.String,Owner>>
Locking.LockInfoResponse. existing_locks
protected java.util.Map<Owner,Tuple<COUNTER.Request,Promise>>
COUNTER. pending_requests
protected java.util.Queue<Owner>
Locking.ServerCondition. queue
protected java.util.concurrent.ConcurrentMap<java.lang.String,java.util.Map<Owner,Locking.ClientLock>>
Locking.ClientLockTable. table
Methods in org.jgroups.protocols that return Owner Modifier and Type Method Description protected Owner
CENTRAL_LOCK. getOwner()
protected Owner
CENTRAL_LOCK2. getOwner()
protected Owner
COUNTER. getOwner()
protected Owner
Locking. getOwner()
Methods in org.jgroups.protocols that return types with arguments of type Owner Modifier and Type Method Description protected java.util.List<Tuple<java.lang.String,Owner>>
Locking.ClientLockTable. getLockInfo()
Returns locks that have been successfully acquiredprotected java.util.Collection<java.util.Map<Owner,Locking.ClientLock>>
Locking.ClientLockTable. values()
Methods in org.jgroups.protocols with parameters of type Owner Modifier and Type Method Description void
Locking.ServerCondition. addWaiter(Owner waiter)
void
CENTRAL_LOCK. awaited(java.lang.String lock_name, Owner owner)
void
CENTRAL_LOCK. awaiting(java.lang.String lock_name, Owner owner)
protected Locking.ClientLock
Locking. createLock(java.lang.String lock_name, Owner owner)
protected Locking.ClientLock
Locking.ClientLockTable. getLock(java.lang.String name, Owner owner, boolean create_if_absent)
protected void
Locking. handleAwaitRequest(java.lang.String lock_name, Owner owner)
protected void
Locking. handleCreateAwaitingRequest(java.lang.String lock_name, Owner owner)
protected void
Locking. handleCreateLockRequest(java.lang.String lock_name, Owner owner)
protected void
Locking. handleDeleteAwaitingRequest(java.lang.String lock_name, Owner owner)
protected void
Locking. handleDeleteAwaitRequest(java.lang.String lock_name, Owner owner)
protected void
Locking. handleLockDeniedResponse(java.lang.String lock_name, int lock_id, Owner owner)
protected void
Locking. handleLockGrantedResponse(java.lang.String lock_name, int lock_id, Owner owner)
protected void
Locking. handleLockReleasedResponse(java.lang.String lock_name, int lock_id, Owner owner)
protected void
Locking. handleSignalResponse(java.lang.String lock_name, Owner owner)
protected boolean
Locking.ServerLock. isRequestPresent(Locking.Type type, Owner owner)
Checks if a certain request from a given owner is already in the queuevoid
CENTRAL_LOCK. locked(java.lang.String lock_name, Owner owner)
void
CENTRAL_LOCK. lockRevoked(java.lang.String lock_name, Owner current_owner)
protected void
Locking. notifyAwaited(java.lang.String lock_name, Owner owner)
protected void
Locking. notifyAwaiting(java.lang.String lock_name, Owner owner)
protected void
Locking. notifyLocked(java.lang.String lock_name, Owner owner)
protected void
Locking. notifyLockRevoked(java.lang.String lock_name, Owner current_owner)
protected void
Locking. notifyUnlocked(java.lang.String lock_name, Owner owner)
protected boolean
Locking.ClientLockTable. removeClientLock(java.lang.String lock_name, Owner owner)
protected void
Locking.ServerLock. removeRequest(Locking.Type type, Owner owner)
void
Locking.ServerCondition. removeWaiter(Owner waiter)
protected void
CENTRAL_LOCK. sendAwaitConditionRequest(java.lang.String lock_name, Owner owner)
protected void
CENTRAL_LOCK2. sendAwaitConditionRequest(java.lang.String lock_name, Owner owner)
protected abstract void
Locking. sendAwaitConditionRequest(java.lang.String lock_name, Owner owner)
protected void
COUNTER. sendCounterNotFoundExceptionResponse(Address dest, Owner owner, java.lang.String counter_name)
protected void
CENTRAL_LOCK. sendCreateLockRequest(Address dest, java.lang.String lock_name, Owner owner)
protected void
CENTRAL_LOCK. sendDeleteAwaitConditionRequest(java.lang.String lock_name, Owner owner)
protected void
CENTRAL_LOCK2. sendDeleteAwaitConditionRequest(java.lang.String lock_name, Owner owner)
protected abstract void
Locking. sendDeleteAwaitConditionRequest(java.lang.String lock_name, Owner owner)
protected void
CENTRAL_LOCK. sendGrantLockRequest(java.lang.String lock_name, int lock_id, Owner owner, long timeout, boolean is_trylock)
protected void
CENTRAL_LOCK2. sendGrantLockRequest(java.lang.String lock_name, int lock_id, Owner owner, long timeout, boolean is_trylock)
protected abstract void
Locking. sendGrantLockRequest(java.lang.String lock_name, int lock_id, Owner owner, long timeout, boolean is_trylock)
protected void
Locking. sendLockResponse(Locking.Type type, Owner dest, java.lang.String lock_name, int lock_id)
protected void
CENTRAL_LOCK. sendReleaseLockRequest(java.lang.String lock_name, int lock_id, Owner owner)
protected void
CENTRAL_LOCK2. sendReleaseLockRequest(java.lang.String lock_name, int lock_id, Owner owner)
protected abstract void
Locking. sendReleaseLockRequest(java.lang.String lock_name, int lock_id, Owner owner)
protected void
Locking. sendRequest(Address dest, Locking.Type type, java.lang.String lock_name, int lock_id, Owner owner, long timeout, boolean is_trylock)
protected void
Locking. sendRequest(Address dest, Locking.Type type, java.lang.String lock_name, Owner owner, long timeout, boolean is_trylock)
protected void
Locking. sendSignalResponse(Owner dest, java.lang.String lock_name)
protected void
Locking.ServerLock. setOwner(Owner owner)
void
CENTRAL_LOCK. unlocked(java.lang.String lock_name, Owner owner)
protected void
CENTRAL_LOCK. updateBackups(Locking.Type type, java.lang.String lock_name, Owner owner)
Method parameters in org.jgroups.protocols with type arguments of type Owner Modifier and Type Method Description protected Locking.LockInfoResponse
Locking.LockInfoResponse. add(Tuple<java.lang.String,Owner> el)
Constructors in org.jgroups.protocols with parameters of type Owner Constructor Description AddAndGetRequest(Owner owner, java.lang.String name, long value)
BooleanResponse(Owner owner, long version, boolean result)
ClientLock(java.lang.String name, Owner owner)
CompareAndSetRequest(Owner owner, java.lang.String name, long expected, long update)
DeleteRequest(Owner owner, java.lang.String name)
ExceptionResponse(Owner owner, java.lang.String error_message)
GetOrCreateResponse(Owner owner, long result, long version)
Request(Locking.Type type, java.lang.String lock_name, Owner owner, long timeout)
Request(Locking.Type type, java.lang.String lock_name, Owner owner, long timeout, boolean is_trylock)
Response(Locking.Type type, Owner owner, java.lang.String lock_name, int lock_id)
ServerLock(java.lang.String lock_name, Owner owner)
SetRequest(Owner owner, java.lang.String name, long value)
SimpleRequest(Owner owner, java.lang.String name)
SimpleResponse(Owner owner, long version)
ValueResponse(Owner owner, long result, long version)
-
Uses of Owner in org.jgroups.util
Methods in org.jgroups.util with parameters of type Owner Modifier and Type Method Description int
Owner. compareTo(Owner o)
-