Package org.apache.pinot.spi.trace
Class NoOpRecording
- java.lang.Object
-
- org.apache.pinot.spi.trace.BaseRecording
-
- org.apache.pinot.spi.trace.NoOpRecording
-
- All Implemented Interfaces:
AutoCloseable,InvocationRecording,InvocationScope,Scope
public final class NoOpRecording extends BaseRecording implements InvocationScope
Used when tracing is disabled.
-
-
Field Summary
Fields Modifier and Type Field Description static NoOpRecordingINSTANCE
-
Constructor Summary
Constructors Constructor Description NoOpRecording()
-
Method Summary
Modifier and Type Method Description voidclose()-
Methods inherited from class org.apache.pinot.spi.trace.BaseRecording
isEnabled
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.pinot.spi.trace.InvocationRecording
isEnabled, setBytesProcessed, setColumnCardinality, setColumnName, setDocIdRange, setFilter, setFunctionName, setInputDataType, setNumChildren, setNumDocsMatchingAfterFilter, setNumDocsScanned, setNumGroups, setNumSegments, setNumTasks, setOutputDataType
-
-
-
-
Field Detail
-
INSTANCE
public static final NoOpRecording INSTANCE
-
-
Method Detail
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceScope
-
-