private static class ServerStatus.LocationsTask extends ServerStatus.Task
__locations
administration command execution.Modifier and Type | Field and Description |
---|---|
private CommandLocation |
command
Locations command.
|
private Future<ResultMap<String,String>> |
future
Locations command execution result;
|
private static Logger |
LOGGER
Logger instance for this class.
|
private ServerStatus.ResultLocations |
result
Locations command status check result.
|
private boolean |
startup
Startup mode.
|
(package private) ResultMap<String,String> |
taskResult
Locations command result;
|
exceptionMeasage, failureEvent, server, serverName, tmStart
Constructor and Description |
---|
ServerStatus.LocationsTask(GlassFishServer server,
boolean startup)
Creates an instance of
__locations server status check. |
Modifier and Type | Method and Description |
---|---|
(package private) void |
cancel()
Attempt to cancel execution of this task.
|
(package private) ServerStatus.ResultLocations |
getResult()
Get
__locations command status check result. |
(package private) void |
join()
Wait for server Location task to finish.
|
private void |
logExceptionOnJoin(Exception ex)
Log Exception caught on task join.
|
(package private) void |
start(ExecutorService executor)
Start server Location task.
|
operationStateChanged, timeout, tm
private static final Logger LOGGER
private final CommandLocation command
private ServerStatus.ResultLocations result
private final boolean startup
true
.ServerStatus.LocationsTask(GlassFishServer server, boolean startup)
__locations
server status check.
server
- GlassFish server to be checked.startup
- Trigger startup mode. Triggers longer administration
commands execution timeouts when true
.ServerStatus.ResultLocations getResult()
__locations
command status check result.
__locations
command status check result.void start(ExecutorService executor)
private void logExceptionOnJoin(Exception ex)
ex
- Exception caught.void join()
void cancel()
Copyright © 2013. All Rights Reserved.