public class CENTRAL_EXECUTOR extends Executing
Executing.ExecutorHeader, Executing.Owner, Executing.Request, Executing.RequestWithThread, Executing.Type
Modifier and Type | Field and Description |
---|---|
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
after_creation_hook, down_prot, ergonomics, id, log, name, stack, stats, up_prot
Constructor and Description |
---|
CENTRAL_EXECUTOR() |
Modifier and Type | Method and Description |
---|---|
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, afterCreationHook, destroy, dumpStats, enableStats, getConfigurableObjects, getDownProtocol, getDownServices, getId, getIdsAbove, getLevel, getLog, 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
in class 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
in class Executing
protected void sendNewRunRequest(Executing.Owner sender)
sendNewRunRequest
in class Executing
protected void sendRemoveRunRequest(Executing.Owner sender)
sendRemoveRunRequest
in class Executing
protected void sendNewConsumerRequest(Executing.Owner sender)
sendNewConsumerRequest
in class Executing
protected void sendRemoveConsumerRequest(Executing.Owner sender)
sendRemoveConsumerRequest
in class Executing
Copyright © 1998-2020 Red Hat. All Rights Reserved.