protected final class RemoteProcedureDispatcher.BufferNode extends DelayedUtil.DelayedContainerWithTimestamp<TRemote> implements RemoteProcedureDispatcher.RemoteNode<TEnv,TRemote>
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
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–2019 Cloudera. All rights reserved.