Package com.sun.enterprise.admin.util
Interface InstanceStateService
-
- All Known Implementing Classes:
InstanceStateServiceImpl
@Contract public interface InstanceStateService
Interface for service that parses the instance state file.- Author:
- Vijay Ramachandran
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addFailedCommandToInstance(String instance, String cmd, ParameterMap params)
void
addServerToStateService(String instanceName)
List<String>
getFailedCommands(String instanceName)
InstanceState.StateType
getState(String instanceName)
void
removeFailedCommandsForInstance(String instance)
void
removeInstanceFromStateService(String name)
InstanceState.StateType
setState(String name, InstanceState.StateType newState, boolean force)
Future<InstanceCommandResult>
submitJob(Server server, InstanceCommand ice, InstanceCommandResult r)
-
-
-
Method Detail
-
addServerToStateService
void addServerToStateService(String instanceName)
-
addFailedCommandToInstance
void addFailedCommandToInstance(String instance, String cmd, ParameterMap params)
-
removeFailedCommandsForInstance
void removeFailedCommandsForInstance(String instance)
-
getState
InstanceState.StateType getState(String instanceName)
-
setState
InstanceState.StateType setState(String name, InstanceState.StateType newState, boolean force)
-
removeInstanceFromStateService
void removeInstanceFromStateService(String name)
-
submitJob
Future<InstanceCommandResult> submitJob(Server server, InstanceCommand ice, InstanceCommandResult r)
-
-