protected final class RemoteProcedureDispatcher.BufferNode extends DelayedUtil.DelayedContainerWithTimestamp<TRemote> implements RemoteProcedureDispatcher.RemoteNode<TEnv,TRemote>
Modifier and Type | Field and Description |
---|---|
private Set<RemoteProcedureDispatcher.RemoteProcedure> |
dispatchedOperations |
private Set<RemoteProcedureDispatcher.RemoteProcedure> |
operations |
Modifier | Constructor and Description |
---|---|
protected |
BufferNode(TRemote key) |
Modifier and Type | Method and Description |
---|---|
void |
abortOperationsInQueue() |
void |
add(RemoteProcedureDispatcher.RemoteProcedure operation) |
void |
dispatch() |
TRemote |
getKey() |
void |
operationCompleted(RemoteProcedureDispatcher.RemoteProcedure remoteProcedure) |
String |
toString() |
getTimeout, setTimeout
equals, getObject, hashCode
compareTo, getDelay
private Set<RemoteProcedureDispatcher.RemoteProcedure> operations
private final Set<RemoteProcedureDispatcher.RemoteProcedure> dispatchedOperations
protected BufferNode(TRemote key)
public TRemote getKey()
getKey
in interface RemoteProcedureDispatcher.RemoteNode<TEnv,TRemote extends Comparable<TRemote>>
public void add(RemoteProcedureDispatcher.RemoteProcedure operation)
add
in interface RemoteProcedureDispatcher.RemoteNode<TEnv,TRemote extends Comparable<TRemote>>
public void dispatch()
dispatch
in interface RemoteProcedureDispatcher.RemoteNode<TEnv,TRemote extends Comparable<TRemote>>
public void abortOperationsInQueue()
public void operationCompleted(RemoteProcedureDispatcher.RemoteProcedure remoteProcedure)
public String toString()
toString
in class DelayedUtil.DelayedContainer<TRemote extends Comparable<TRemote>>
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.