IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

com.ibm.websphere.objectgrid.rest
Interface RestServiceMBean

All Known Implementing Classes:
RestService

public interface RestServiceMBean

Java MBean interface for the WebSphere eXtreme Scale REST data service. Provides operations to dynamically interact with the WebSphere eXtreme Scale REST Data Service dynamically through JMX.

Since:
7.1

Method Summary
 void setTraceEnabled(String enableTrace)
          Enables or disables trace for the REST data service.
 void setTraceSpec(String traceString)
          Set the trace specification for the JVM in which the REST data service is running.
 

Method Detail

setTraceEnabled

void setTraceEnabled(String enableTrace)
Enables or disables trace for the REST data service.

Parameters:
enableTrace - A value of "true" enables debug tracing. A value of "false" disables debug tracing.
Throws:
IllegalArgumentException - If argument does not equal value of "true" or "false".
See Also:
ObjectGridManager.setTraceEnabled(boolean)

setTraceSpec

void setTraceSpec(String traceString)
Set the trace specification for the JVM in which the REST data service is running.

This operation is a replace operation, not an append operation. The specification should be of the form:

 TraceString := <ComponentString>(:<ComponentString>)* ComponentString :=  <ComponentName>=<type>=<state>(,<type>=<state>)*
 ComponentName := a java String state := [enabled|disabled] type := [all|debug|event|entryExit] 

For example, ObjectGridRest*=all=enabled

Parameters:
traceString - A valid trace specification string such as ObjectGridRest*=all=enabled.
Throws:
IllegalArgumentException - If the argument is null or a zero-length string.
See Also:
ObjectGridManager.setTraceSpecification(String)

IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

© Copyright International Business Machines Corp 2005,2012. All rights reserved.