org.systinet.wasp.admin
Interface ServiceMonitoring


Deprecated. See ServiceMonitoring.

public interface ServiceMonitoring

Monitoring of services provided by Admin service.

Since:
4.0
Component:
Mgmt-Services-Backward-Compatible

Method Summary
 ServiceEndpointThroughputLog dataThroughputControl(ServiceEndpoint serviceEndpoint, int controlOperation)
          Deprecated. Control service endpoint data throughput monitor.
 boolean debugControl(ServiceEndpoint serviceEndpoint, int controlOperation)
          Deprecated. Control service endpoint debugging.
 ServiceEndpointPerformanceLog performanceControl(ServiceEndpoint serviceEndpoint, int controlOperation)
          Deprecated. Control service endpoint performance monitor.
 

Method Detail

debugControl

public boolean debugControl(ServiceEndpoint serviceEndpoint,
                            int controlOperation)
                     throws AdminServiceException
Deprecated. 
Control service endpoint debugging.

Parameters:
serviceEndpoint - target service endpoint.
controlOperation - may be one of the following:
  • ENABLE: enable debugging.
    Secure mode: you must have WSMonitoringPermission/enable permission for target service endpoint to perform this operation.
  • DISABLE: disable debugging.
    Secure mode: you must have WSMonitoringPermission/disable permission for target service endpoint to perform this operation.
  • GET: determine whether endpoint is debugged.
    Secure mode: you must have WSMonitoringPermission/get permission for target service endpoint to perform this operation.
  • CLEAN: clean debug log.
    Secure mode: you must have WSMonitoringPermission/clean permission for target service endpoint to perform this operation.
Returns:
true if service endpoint is debugged, else it returns false.
Throws:
AdminServiceException
See Also:
ControlOperations

dataThroughputControl

public ServiceEndpointThroughputLog dataThroughputControl(ServiceEndpoint serviceEndpoint,
                                                          int controlOperation)
                                                   throws AdminServiceException
Deprecated. 
Control service endpoint data throughput monitor.

Parameters:
serviceEndpoint - target service endpoint.
controlOperation - may be one of the following:
  • RESET: reset values for this service endpoint monitor.
    Secure mode: you must have WSMonitoringPermission/clean permission for target service endpoint to perform this operation.
  • GET: get the service endpoint monitor log.
    Secure mode: you must have WSMonitoringPermission/get permission for target service endpoint to perform this operation.
  • ADD: install data monitor for this service endpoint.
    Secure mode: you must have WSMonitoringPermission/set permission for target service endpoint to perform this operation.
  • REMOVE: remove service endpoint monitor.
    Secure mode: you must have WSMonitoringPermission/set permission for target service endpoint to perform this operation.
Returns:
On GET operation returns log for the service endpoint, else returns null.
Throws:
AdminServiceException
See Also:
ServiceEndpointThroughputLog, ControlOperations

performanceControl

public ServiceEndpointPerformanceLog performanceControl(ServiceEndpoint serviceEndpoint,
                                                        int controlOperation)
                                                 throws AdminServiceException
Deprecated. 
Control service endpoint performance monitor.

Parameters:
serviceEndpoint - target service endpoint.
controlOperation - may be one of the following:
  • RESET: reset the values for this service endpoint performance monitor.
    Secure mode: you must have WSMonitoringPermission/clean permission for target service endpoint to perform this operation.
  • GET: get the performance monitor log.
    Secure mode: you must have WSMonitoringPermission/get permission for target service endpoint to perform this operation.
  • ADD: install the performance monitor for this endpoint.
    Secure mode: you must have WSMonitoringPermission/set permission for target service endpoint to perform this operation.
  • REMOVE: remove the performance monitor for this endpoint.
    Secure mode: you must have WSMonitoringPermission/set permission for target service endpoint to perform this operation.
Returns:
On GET operation returns performance log for the service endpoint, else returns null.
Throws:
AdminServiceException
See Also:
ServiceEndpointPerformanceLog, ControlOperations