| Package | Description |
|---|---|
| org.apache.slider.server.appmaster | |
| org.apache.slider.server.appmaster.actions | |
| org.apache.slider.server.appmaster.monkey | |
| org.apache.slider.server.appmaster.rpc | |
| org.apache.slider.server.appmaster.web.rest.application |
This package contains resources related to the application
REST API
|
| Modifier and Type | Method and Description |
|---|---|
void |
SliderAppMaster.queue(AsyncAction action)
Queue an action for immediate execution in the executor thread
|
void |
SliderAppMaster.schedule(AsyncAction action)
Schedule an action
|
| Modifier and Type | Class and Description |
|---|---|
class |
RenewingAction<A extends AsyncAction>
This action executes then reschedules an inner action; a limit
can specify the number of times to run
|
| Modifier and Type | Class and Description |
|---|---|
class |
ActionFlexCluster |
class |
ActionHalt
Exit an emergency JVM halt.
|
class |
ActionKillContainer
Kill a specific container
|
class |
ActionRegisterServiceInstance
Asynchronous registration operation
|
class |
ActionStartContainer
Start a container
|
class |
ActionStopQueue
Action to tell a queue executor to stop -after handing this on/executing it
|
class |
ActionStopSlider
Trigger an AM exit.
|
class |
ActionUpgradeContainers |
class |
EscalateOutstandingRequests
Escalate outstanding requests by asking AM
|
class |
ProviderReportedContainerLoss
Report container loss to the AM
SliderAppMaster.providerLostContainer(ContainerId) |
class |
ProviderStartupCompleted |
class |
RegisterComponentInstance
Notify the app master that it should register a component instance
in the registry
SliderAppMaster#registerComponent(ContainerId) |
class |
RenewingAction<A extends AsyncAction>
This action executes then reschedules an inner action; a limit
can specify the number of times to run
|
class |
ResetFailureWindow
Requests the AM to reset the failure window
|
class |
ReviewAndFlexApplicationSize
Tell the AM to execute the full flex review operation
|
class |
UnregisterComponentInstance
Tell AM to unregister this component instance
SliderAppMaster.unregisterComponent(ContainerId) |
| Modifier and Type | Field and Description |
|---|---|
BlockingDeque<AsyncAction> |
QueueService.actionQueue
Immediate actions.
|
DelayQueue<AsyncAction> |
QueueService.scheduledActions
Actions to be scheduled in the future
|
| Modifier and Type | Method and Description |
|---|---|
RenewingAction<? extends AsyncAction> |
QueueService.lookupRenewingAction(String name) |
RenewingAction<? extends AsyncAction> |
QueueAccess.lookupRenewingAction(String name)
Look up a renewing action
|
| Modifier and Type | Method and Description |
|---|---|
void |
QueueService.put(AsyncAction action) |
void |
QueueAccess.put(AsyncAction action)
Put an action on the immediate queue -to be executed when the queue
reaches it.
|
boolean |
QueueService.remove(AsyncAction action) |
boolean |
QueueAccess.remove(AsyncAction action)
Remove an action from the queues.
|
void |
QueueService.schedule(AsyncAction action) |
void |
QueueAccess.schedule(AsyncAction action)
Put a delayed action: this will only be added to the main queue
after its action time has been reached
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
QueueService.flushActionQueue(Class<? extends AsyncAction> clazz)
Flush an action queue of all types of a specific action
|
void |
QueueService.renewing(String name,
RenewingAction<? extends AsyncAction> renewingAction) |
void |
QueueAccess.renewing(String name,
RenewingAction<? extends AsyncAction> renewingAction)
Add a named renewing action
|
| Modifier and Type | Class and Description |
|---|---|
class |
MonkeyPlayAction
Queueable action which calls
ChaosMonkeyService.play() when
executed. |
| Modifier and Type | Method and Description |
|---|---|
void |
SliderIPCService.queue(AsyncAction action)
Queue an action for immediate execution in the executor thread
|
void |
SliderIPCService.schedule(AsyncAction action)
Schedule an action
|
| Modifier and Type | Method and Description |
|---|---|
void |
ApplicationResource.queue(AsyncAction action)
Put an action on the immediate queue -to be executed when the queue
reaches it.
|
void |
ApplicationResource.schedule(AsyncAction action)
Schedule an action
|
Copyright © 2014–2015 The Apache Software Foundation. All rights reserved.