public class CENTRAL_EXECUTOR extends Executing
Executing.ExecutorHeader, Executing.Owner, Executing.Request, Executing.RequestWithThread, Executing.Type
限定符和类型 | 字段和说明 |
---|---|
protected java.util.List<Address> |
backups |
protected Address |
coord |
protected boolean |
is_coord |
protected int |
num_backups |
_awaitingConsumer, _awaitingReturn, _consumerId, _consumerLock, _consumersAvailable, _requestId, _runnableThreads, _running, _runRequests, _taskBarriers, _tasks, bypass_bundling, counter, local_addr, notifiers, PRESENT, view
构造器和说明 |
---|
CENTRAL_EXECUTOR() |
限定符和类型 | 方法和说明 |
---|---|
protected void |
copyQueueTo(java.util.List<Address> new_joiners) |
java.lang.String |
getBackups() |
Address |
getCoord() |
java.lang.String |
getCoordinator() |
int |
getNumberOfBackups() |
void |
handleView(View view) |
boolean |
isCoord() |
protected void |
sendNewConsumerRequest(Executing.Owner sender) |
protected void |
sendNewRunRequest(Executing.Owner sender) |
protected void |
sendRemoveConsumerRequest(Executing.Owner sender) |
protected void |
sendRemoveRunRequest(Executing.Owner sender) |
protected void |
sendToCoordinator(Executing.Type type,
long requestId,
Address value) |
void |
setNumberOfBackups(int num_backups) |
protected void |
updateBackups(Executing.Type type,
Executing.Owner obj) |
addExecutorListener, down, getAddress, getBypassBundling, getView, handleConsumerFoundResponse, handleConsumerReadyRequest, handleConsumerUnreadyRequest, handleExceptionResponse, handleInterruptRequest, handleNewConsumer, handleNewRunRequest, handleRemoveConsumer, handleRemoveRunRequest, handleTaskRejectedResponse, handleTaskRequest, handleTaskSubmittedRequest, handleValueResponse, removeKeyForValue, sendRequest, sendThreadRequest, setBypassBundling, up
accept, destroy, dumpStats, enableStats, getConfigurableObjects, getDownProtocol, getDownServices, getId, getIdsAbove, getLevel, getName, getProtocolStack, getSocketFactory, getThreadFactory, getTransport, getUpProtocol, getUpServices, getValue, init, isErgonomics, level, parse, printStats, providedDownServices, providedUpServices, requiredDownServices, requiredUpServices, resetStatistics, resetStats, setDownProtocol, setErgonomics, setId, setLevel, setProtocolStack, setSocketFactory, setUpProtocol, setValue, setValues, start, statsEnabled, stop, up
protected int num_backups
protected Address coord
protected boolean is_coord
protected final java.util.List<Address> backups
public Address getCoord()
public boolean isCoord()
public java.lang.String getCoordinator()
public int getNumberOfBackups()
public void setNumberOfBackups(int num_backups)
public java.lang.String getBackups()
public void handleView(View view)
handleView
在类中 Executing
protected void updateBackups(Executing.Type type, Executing.Owner obj)
protected void copyQueueTo(java.util.List<Address> new_joiners)
protected void sendToCoordinator(Executing.Type type, long requestId, Address value)
sendToCoordinator
在类中 Executing
protected void sendNewRunRequest(Executing.Owner sender)
sendNewRunRequest
在类中 Executing
protected void sendRemoveRunRequest(Executing.Owner sender)
sendRemoveRunRequest
在类中 Executing
protected void sendNewConsumerRequest(Executing.Owner sender)
sendNewConsumerRequest
在类中 Executing
protected void sendRemoveConsumerRequest(Executing.Owner sender)
sendRemoveConsumerRequest
在类中 Executing