Package overit.geocall.io.tracer
Class IOLogProcessor
java.lang.Object
overit.geocall.io.tracer.IOLogProcessor
- All Implemented Interfaces:
Runnable
Questa classe gestisce una coda FIFO di
IOLogProcessor.LogEntry la quale viene processata
in modo sequenziale da un thread. Ogni entry contiene le informazioni sul tracer
ed il relativo metodo da invocare.-
Method Summary
Modifier and TypeMethodDescriptionintstatic IOLogProcessorintintvoidput(IOLogTracer tracer) voidput(IOLogTracer tracer, String method, Class[] paramTypes, Object[] params) Deprecated, for removal: This API element is subject to removal in a future version.voidreset()voidrun()voidsetSpoolerSize(int size) voidstop()
-
Method Details
-
getInstance
-
setSpoolerSize
public void setSpoolerSize(int size) -
getSpoolerSize
public int getSpoolerSize() -
getAllRequestsCount
public int getAllRequestsCount() -
getLostRequestsCount
public int getLostRequestsCount() -
stop
public void stop() -
put
@Deprecated(forRemoval=true) public void put(IOLogTracer tracer, String method, Class[] paramTypes, Object[] params) Deprecated, for removal: This API element is subject to removal in a future version.useput(IOLogTracer)instead- Parameters:
tracer-IOLogTracerinstancemethod- the method nameparamTypes- the parameters data typesparams- the parameter values
-
put
-
run
public void run() -
reset
public void reset()
-
put(IOLogTracer)instead