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, up
destroy, 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, stop
protected 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 Executing
protected void updateBackups(Executing.Type type, Executing.Owner obj)
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 © 2012 JBoss by Red Hat. All Rights Reserved.