public interface ServiceManagerSupport
Modifier and Type | Method and Description |
---|---|
java.lang.String |
dumpHeap(java.lang.String tag)
Creates a heap dump file of live objects in this service JVM.
|
java.lang.String |
dumpThreads(java.lang.String tag)
Dumps a list of thread running in this service JVM.
|
java.lang.String |
gc()
Calls
System.gc() in the service JVM. |
java.util.Map<java.lang.String,com.itko.lisa.mobile.MobileDeviceInfo> |
getAttachedMobileDevices() |
byte[] |
getDiagnosticZip()
Generates a diagnostic zip file for support containing select log files, configuration data, etc.
|
com.itko.lisa.stats.jmx.StatisticsData |
getPerformanceStats() |
com.itko.lisa.coordinator.ServiceName |
getRegistry() |
void |
popLogging()
Resets the logging to the state it was in before pushLogging was called.
|
void |
pushLogging(java.lang.String newlog4jLogLevel) |
void |
serviceReset()
Resets the current service.
|
java.lang.String |
serviceStatus() |
void |
serviceStop()
Stops the current service.
|
void serviceStop() throws java.rmi.RemoteException
java.rmi.RemoteException
- Unexpected exception.void serviceReset() throws java.rmi.RemoteException
java.rmi.RemoteException
- Unexpected exception.java.lang.String serviceStatus() throws java.rmi.RemoteException
java.rmi.RemoteException
- Unexpected exception.com.itko.lisa.stats.jmx.StatisticsData getPerformanceStats() throws java.rmi.RemoteException
java.rmi.RemoteException
java.lang.String dumpThreads(java.lang.String tag) throws java.rmi.RemoteException
tag
- The name of the thread dump.java.rmi.RemoteException
- Unexpected exception.java.lang.String dumpHeap(java.lang.String tag) throws java.rmi.RemoteException
tag
- A logging tag.java.rmi.RemoteException
- Unexpected exception.java.lang.String gc() throws java.rmi.RemoteException
System.gc()
in the service JVM.java.rmi.RemoteException
- Unexpected exception.byte[] getDiagnosticZip() throws java.rmi.RemoteException
java.rmi.RemoteException
com.itko.lisa.coordinator.ServiceName getRegistry() throws java.rmi.RemoteException
java.rmi.RemoteException
- Unexpected exception.void pushLogging(java.lang.String newlog4jLogLevel) throws java.rmi.RemoteException
java.rmi.RemoteException
void popLogging() throws java.rmi.RemoteException, java.util.EmptyStackException
java.rmi.RemoteException
java.util.EmptyStackException
- if there is no stack data for saved log levelsjava.util.Map<java.lang.String,com.itko.lisa.mobile.MobileDeviceInfo> getAttachedMobileDevices() throws java.rmi.RemoteException, java.lang.UnsupportedOperationException
java.rmi.RemoteException
java.lang.UnsupportedOperationException
- if the service is not a SimulatorServerCopyright © 1998-2014 CA, Inc. All Rights Reserved.