public interface EngineAdmin
| Modifier and Type | Method and Description |
|---|---|
void |
applyPatch(long id,
java.lang.String instance)
Applies patches associated with the currently running Enabler and Component to the Enabler running on Engine.
|
boolean |
capture(long id,
java.lang.String instance)
Captures the state of currently running Component on the given Engine after deactivating the Component.
|
boolean |
captureWhileRunning(long id,
java.lang.String instance)
Captures the state of currently running Component on the given Engine without deactivating the Component.
|
FabricEngineInfo[] |
getAllEngineInfo()
Retrieves information on the all Engines logged into the Broker.
|
int |
getBusyEngineCount()
Retrieves the total number of Engines logged into the Broker that are currently processing a Task.
|
int |
getEngineCount()
Retrieves the total number of Engines logged into the Broker.
|
long[] |
getEngineIds()
Retrieves the list of Engine IDs logged into the Broker.
|
FabricEngineInfo |
getEngineInfo(long id,
java.lang.String instance)
Retrieves information on the given Engine.
|
java.lang.String[] |
getLogUrlList(long id,
java.lang.String instance)
Retrieves the log file URLs on the given Engine.
|
PatchStatusInfo[] |
getPatchStatus(long id,
java.lang.String instance)
Retrieves status of all the patches associated with the currently running Enabler and Component.
|
FabricEngineInfo[] |
getSelectedEngineInfo(long[] engineIds)
Retrieves information on the given Engines logged into the Broker.
|
boolean |
isAvailable()
Retrieves if the methods are available.
|
void |
killAllEngines()
Logs out all the Engines from the Broker.
|
void |
killEngine(long id,
java.lang.String instance)
Logs out the given Engine from the Broker.
|
void |
restartComponent(long id,
java.lang.String instance)
Restart the component running on the given Engine.
|
void |
restartOutOfDateComponents()
Restarts all components that are running on engines marked Out Of Date.
|
boolean isAvailable()
throws java.lang.Exception
AdminException - on errorjava.lang.Exceptionint getEngineCount()
throws java.lang.Exception
NoServiceException - If the Service is not availableAccessException - If the user does not have access to the operationAdminException - on errorjava.lang.Exceptionint getBusyEngineCount()
throws java.lang.Exception
NoServiceException - If the Service is not availableAccessException - If the user does not have access to the operationAdminException - on errorjava.lang.Exceptionlong[] getEngineIds()
throws java.lang.Exception
null when no Engines are logged into the Broker.null when no Engines are logged into the Broker.NoServiceException - If the Service is not availableAccessException - If the user does not have access to the operationAdminException - on errorjava.lang.ExceptionFabricEngineInfo[] getSelectedEngineInfo(long[] engineIds) throws java.lang.Exception
null when none of the given Engines are logged into the Broker.engineIds - the array of Engine IDs to fetch.
Returns null when none of the given Engines are logged into the Broker.NoServiceException - If the Service is not availableAccessException - If the user does not have access to the operationAdminException - on errorjava.lang.ExceptionFabricEngineInfo getEngineInfo(long id, java.lang.String instance) throws java.lang.Exception
id - the Engine IDinstance - the Engine instanceNoServiceException - If the Service is not availableAccessException - If the user does not have access to the operationAdminException - on errorjava.lang.ExceptionFabricEngineInfo[] getAllEngineInfo() throws java.lang.Exception
null when no Engines are logged into the Broker.null when no Engines are logged into the Broker.NoServiceException - If the Service is not availableAccessException - If the user does not have access to the operationAdminException - on errorjava.lang.Exceptionvoid killEngine(long id,
java.lang.String instance)
throws java.lang.Exception
id - the Engine IDinstance - the Engine instanceNoServiceException - If the Service is not availableAccessException - If the user does not have access to the operationAdminException - on errorjava.lang.Exceptionvoid killAllEngines()
throws java.lang.Exception
NoServiceException - If the Service is not availableAccessException - If the user does not have access to the operationAdminException - on errorjava.lang.Exceptionjava.lang.String[] getLogUrlList(long id,
java.lang.String instance)
throws java.lang.Exception
null when no log file URLs are available for the given Engine instance.id - the Engine IDinstance - the Engine instancenull when no log file URLs are available for the given Engine instance.NoServiceException - If the Service is not availableAccessException - If the user does not have access to the operationAdminException - on errorjava.lang.Exceptionboolean capture(long id,
java.lang.String instance)
throws java.lang.Exception
true if capture was attempted; false if capture was not even attempted because the Engine was in draining mode or not in running state.id - the Engine IDinstance - the Engine instancetrue if capture was attempted;
false if capture was not even attempted because the Engine was in draining mode or not in running stateNoServiceException - If the Service is not availableAccessException - If the user does not have access to the operationAdminException - on errorjava.lang.Exceptionboolean captureWhileRunning(long id,
java.lang.String instance)
throws java.lang.Exception
true if capture was attempted; false if capture was not even attempted because the Engine was in draining mode or not in running state.id - the Engine IDinstance - the Engine instancetrue if capture was attempted;
false if capture was not even attempted because the Engine was in draining mode or not in running stateNoServiceException - If the Service is not availableAccessException - If the user does not have access to the operationAdminException - on errorjava.lang.Exceptionvoid restartComponent(long id,
java.lang.String instance)
throws java.lang.Exception
id - the Engine IDinstance - the Engine instanceNoServiceException - If the Service is not availableAccessException - If the user does not have access to the operationAdminException - on errorjava.lang.Exceptionvoid restartOutOfDateComponents()
throws java.lang.Exception
NoServiceException - If the Service is not availableAccessException - If the user does not have access to the operationAdminException - on errorjava.lang.Exceptionvoid applyPatch(long id,
java.lang.String instance)
throws java.lang.Exception
id - the Engine IDinstance - the Engine instanceNoServiceException - If the Service is not availableAccessException - If the user does not have access to the operationAdminException - on errorjava.lang.ExceptionPatchStatusInfo[] getPatchStatus(long id, java.lang.String instance) throws java.lang.Exception
id - the Engine IDinstance - the Engine instanceNoServiceException - If the Service is not availableAccessException - If the user does not have access to the operationAdminException - on errorjava.lang.ExceptionCopyright © 2014 TIBCO Software, Inc. All Rights Reserved.