protected final class RemoteProcedureDispatcher.BufferNode extends DelayedUtil.DelayedContainerWithTimestamp<TRemote> implements RemoteProcedureDispatcher.RemoteNode<TEnv,TRemote>
Modifier and Type | Field and Description |
---|---|
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() |
String |
toString() |
getTimeout, setTimeout
equals, getObject, hashCode
compareTo, getDelay
private Set<RemoteProcedureDispatcher.RemoteProcedure> operations
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 String toString()
toString
in class DelayedUtil.DelayedContainer<TRemote extends Comparable<TRemote>>
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.