void function ( TimedOpTag arg0 ) { if ( isActive ( ) ) { TraceTag loc0 = acquire ( ) ; if ( loc0 . getOpCount ( ) >= flushAtOpCount ) { traceTagReporter . report ( loc0 ) ; loc0 . removeOps ( ) ; } loc0 . add ( arg0 ) ; } else { if ( reportUnattached ) { traceTagReporter . reportUnattached ( arg0 ) ; } } }
add this timedoptag to the underlying trace if there is one . optionally log it 's contents if no trace is active . if an active trace was found and org.apache.usergrid.persistence.cassandra.util.tracetag #getopcount exceeded #getflushatopcount , then the trace is dumped to the reporter and org.apache.usergrid.persistence.cassandra.util.tracetag #removeops is invoked . the tracetag stay attached with thesame name and id , but now with no pending ops . concode_field_sep boolean reportUnattached concode_elem_sep TraceTagReporter traceTagReporter concode_elem_sep ThreadLocal<TraceTag> localTraceTag concode_elem_sep boolean explicitOnly concode_elem_sep int flushAtOpCount concode_elem_sep Logger logger concode_elem_sep boolean traceEnabled concode_field_sep boolean getTraceEnabled concode_elem_sep boolean getExplicitOnly concode_elem_sep void setTraceEnabled concode_elem_sep void setReportUnattached concode_elem_sep TimedOpTag timerInstance concode_elem_sep boolean isActive concode_elem_sep TraceTag acquire concode_elem_sep TraceTag createMetered concode_elem_sep void setFlushAtOpCount concode_elem_sep TraceTag detach concode_elem_sep TraceTag create concode_elem_sep int getFlushAtOpCount concode_elem_sep void attach concode_elem_sep void setExplicitOnly