Class CallStackReportDiagnosticEventPersister
java.lang.Object
io.higson.runtime.diagnostic.persister.CallStackReportDiagnosticEventPersister
- All Implemented Interfaces:
DiagnosticEventPersister<DiagnosticCallStackReport>
public class CallStackReportDiagnosticEventPersister
extends Object
implements DiagnosticEventPersister<DiagnosticCallStackReport>
-
Field Summary
Fields inherited from interface io.higson.runtime.diagnostic.persister.DiagnosticEventPersister
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondataType()The payload class this persister handles.voidsaveBatch(List<DiagnosticCallStackReport> items) Batch-insert the type-safe payloads into the underlying store.The event code this persister handles.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.higson.runtime.diagnostic.persister.DiagnosticEventPersister
persist
-
Constructor Details
-
CallStackReportDiagnosticEventPersister
-
-
Method Details
-
supportedCode
Description copied from interface:DiagnosticEventPersisterThe event code this persister handles.- Specified by:
supportedCodein interfaceDiagnosticEventPersister<DiagnosticCallStackReport>
-
dataType
Description copied from interface:DiagnosticEventPersisterThe payload class this persister handles. Used by the defaultDiagnosticEventPersister.persist(List)to filter the incoming batch.- Specified by:
dataTypein interfaceDiagnosticEventPersister<DiagnosticCallStackReport>
-
saveBatch
Description copied from interface:DiagnosticEventPersisterBatch-insert the type-safe payloads into the underlying store.- Specified by:
saveBatchin interfaceDiagnosticEventPersister<DiagnosticCallStackReport>- Parameters:
items- items to persist; nevernullor empty
-