| Constructor and Description |
|---|
RemoteTracerAPIStub() |
RemoteTracerAPIStub(org.distributeme.core.ServiceDescriptor target) |
| Modifier and Type | Method and Description |
|---|---|
void |
createTracer(java.lang.String producerId)
Creates a new tracer for given producer id.
|
void |
deInit() |
void |
disableTracer(java.lang.String producerId)
Temporarly disables a tracer.
|
void |
enableTracer(java.lang.String producerId)
Reenables a previously disabled tracer or creates a new tracer, if there were no tracer for this producer id.
|
TracerAO |
getTracer(java.lang.String producerId)
Returns a tracer by a producer id of the associated producer if such a tracer exists.
|
java.util.List<TracerAO> |
getTracers()
Returns registered tracers.
|
java.util.List<TraceAO> |
getTraces(java.lang.String producerId,
TimeUnit timeUnit)
Returns traces that have been recorded by the tracer associated with the producer id.
|
void |
init() |
void |
removeTracer(java.lang.String producerId)
Removes a tracer by producer id.
|
public RemoteTracerAPIStub()
public RemoteTracerAPIStub(org.distributeme.core.ServiceDescriptor target)
public java.util.List<TracerAO> getTracers() throws net.anotheria.anoplass.api.APIException
TracerAPIgetTracers in interface TracerAPInet.anotheria.anoplass.api.APIExceptionpublic TracerAO getTracer(java.lang.String producerId) throws net.anotheria.anoplass.api.APIException
TracerAPIpublic java.util.List<TraceAO> getTraces(java.lang.String producerId, TimeUnit timeUnit) throws net.anotheria.anoplass.api.APIException
TracerAPIpublic void createTracer(java.lang.String producerId)
throws net.anotheria.anoplass.api.APIException
TracerAPIcreateTracer in interface TracerAPIproducerId - id of the producer the tracer should be associated with.net.anotheria.anoplass.api.APIExceptionpublic void removeTracer(java.lang.String producerId)
throws net.anotheria.anoplass.api.APIException
TracerAPIremoveTracer in interface TracerAPIproducerId - id of the producer the tracer is associated with.net.anotheria.anoplass.api.APIExceptionpublic void disableTracer(java.lang.String producerId)
throws net.anotheria.anoplass.api.APIException
TracerAPIdisableTracer in interface TracerAPIproducerId - id of the producer the tracer is associated with.net.anotheria.anoplass.api.APIExceptionpublic void enableTracer(java.lang.String producerId)
throws net.anotheria.anoplass.api.APIException
TracerAPIenableTracer in interface TracerAPIproducerId - id of the producer the tracer is associated with.net.anotheria.anoplass.api.APIExceptionpublic void init()
throws net.anotheria.anoplass.api.APIInitException
init in interface net.anotheria.anoplass.api.APInet.anotheria.anoplass.api.APIInitExceptionpublic void deInit()
deInit in interface net.anotheria.anoplass.api.APICopyright © 2010-2020 anotheria.net. All Rights Reserved.