public class CENTRAL_EXECUTOR extends Executing
Executing.ExecutorHeader, Executing.Owner, Executing.Request, Executing.Type| Modifier and Type | Field and Description |
|---|---|
protected List<Address> |
backups |
protected Address |
coord |
protected boolean |
is_coord |
protected int |
num_backups |
_awaitingConsumer, _awaitingReturn, _consumerId, _consumerLock, _consumersAvailable, _requestId, _runnableThreads, _running, _runRequests, _tasks, bypass_bundling, counter, local_addr, notifiers, view| Constructor and Description |
|---|
CENTRAL_EXECUTOR() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
copyQueueTo(List<Address> new_joiners) |
String |
getBackups() |
Address |
getCoord() |
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, setBypassBundling, updestroy, dumpStats, enableStats, getConfigurableObjects, getDownProtocol, getId, getLevel, getName, getProtocolStack, getSocketFactory, getThreadFactory, getTransport, getUpProtocol, getValue, init, isErgonomics, printStats, providedDownServices, providedUpServices, requiredDownServices, requiredUpServices, resetStatistics, resetStats, setDownProtocol, setErgonomics, setId, setLevel, setProtocolStack, setSocketFactory, setUpProtocol, setValue, setValues, start, statsEnabled, stopprotected int num_backups
protected Address coord
protected boolean is_coord
public Address getCoord()
public boolean isCoord()
public String getCoordinator()
public int getNumberOfBackups()
public void setNumberOfBackups(int num_backups)
public String getBackups()
public void handleView(View view)
handleView in class Executingprotected void updateBackups(Executing.Type type, Executing.Owner obj)
protected void sendToCoordinator(Executing.Type type, long requestId, Address value)
sendToCoordinator in class Executingprotected void sendNewRunRequest(Executing.Owner sender)
sendNewRunRequest in class Executingprotected void sendRemoveRunRequest(Executing.Owner sender)
sendRemoveRunRequest in class Executingprotected void sendNewConsumerRequest(Executing.Owner sender)
sendNewConsumerRequest in class Executingprotected void sendRemoveConsumerRequest(Executing.Owner sender)
sendRemoveConsumerRequest in class ExecutingCopyright © 2012 JBoss by Red Hat. All Rights Reserved.