Package | Description |
---|---|
org.glassfish.tools.ide.server.state |
Modifier and Type | Field and Description |
---|---|
(package private) StatusJob |
StatusJob.Listener.job
Server status check internal data for individual GlassFish
server instance.
|
private StatusJob |
RunnerTask.job
Server status check job internal data.
|
Modifier and Type | Field and Description |
---|---|
private Map<GlassFishServer,StatusJob> |
StatusScheduler.jobs
Server status jobs.
|
Modifier and Type | Method and Description |
---|---|
StatusJob |
StatusScheduler.getJob(GlassFishServer srv)
Get server status job from jobs
Map . |
private StatusJob |
StatusScheduler.removeJob(GlassFishServer srv)
Remove server status job from jobs
Map . |
Modifier and Type | Method and Description |
---|---|
private boolean |
StatusScheduler.addJob(StatusJob job)
Add server status job into jobs
Map . |
private static StatusResult.Status |
StatusJob.checkResult(StatusJob job)
Evaluate check result depending on running tasks and their result.
|
private static void |
StatusJob.commandTransition(StatusJob job)
Handles state transition and server status check tasks reschedule
for administrator command execution result evaluation.
|
private void |
StatusScheduler.localChecksAtOnce(StatusJob job)
All checks at once when we need full result ASAP.
|
private void |
StatusScheduler.localChecksStepByStep(StatusJob job)
All checks step by step when server state is stable and we have to run
all checks.
|
private void |
StatusScheduler.portCheckOnly(StatusJob job)
Administrator port only check for states where we do not expect server
to be fully responding.
|
private static void |
StatusJob.portCheckTransition(StatusJob job)
Handles state transition and server status check tasks reschedule
for administrator port check result evaluation.
|
private void |
StatusScheduler.remoteChecksAtOnce(StatusJob job)
Checks for remote server at once when we need full result ASAP.
|
private void |
StatusScheduler.remoteChecksStepByStep(StatusJob job)
Checks for remote server step by step when server state is stable and
we have to run all checks.
|
(package private) void |
StatusScheduler.remove(StatusJob job)
Remove all scheduled tasks from executor.
|
(package private) void |
StatusScheduler.reschedule(StatusJob job)
Schedule server status job after internal state transition to follow
current strategy.
|
private ScheduledFuture |
StatusScheduler.scheduleAdminPortTask(StatusJob job)
Schedule periodic execution of port check asynchronous task.
|
private ScheduledFuture |
StatusScheduler.scheduleLocationsTask(StatusJob job)
Schedule periodic execution of
__locations
asynchronous task. |
private ScheduledFuture |
StatusScheduler.scheduleLocationsTask(StatusJob job,
long initialDelay)
Schedule periodic execution of
__locations
asynchronous task. |
(package private) ScheduledFuture |
StatusScheduler.scheduleNew(StatusJob job)
Schedule new server status job.
|
private ScheduledFuture |
StatusScheduler.scheduleVersionTask(StatusJob job)
Schedule periodic execution of
version asynchronous task. |
private ScheduledFuture |
StatusScheduler.scheduleVersionTask(StatusJob job,
long initialDelay)
Schedule periodic execution of
version asynchronous task. |
Constructor and Description |
---|
RunnerTask(StatusJob job,
StatusJob.RunnerTask task)
Constructs an instance of individual server administrator command task.
|
StatusJob.Listener(StatusJob job)
Constructs an instance of common command execution
state listener.
|
StatusJob.ListenerLocations(StatusJob job)
Constructs an instance of
__locations command execution
state listener. |
StatusJob.ListenerPortCheck(StatusJob job)
Constructs an instance of
version command execution
state listener. |
StatusJob.ListenerVersion(StatusJob job)
Constructs an instance of
version command execution
state listener. |
Copyright © 2013. All Rights Reserved.