Package com.newrelic.telemetry.logs
Class LogBatch
- java.lang.Object
-
- com.newrelic.telemetry.TelemetryBatch<Log>
-
- com.newrelic.telemetry.logs.LogBatch
-
public class LogBatch extends TelemetryBatch<Log>
Represents a set ofLog
instances, to be sent up to the New Relic Logging API.
-
-
Constructor Summary
Constructors Constructor Description LogBatch(java.util.Collection<Log> telemetry, Attributes commonAttributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TelemetryBatch<Log>
createSubBatch(java.util.Collection<Log> telemetry)
-
Methods inherited from class com.newrelic.telemetry.TelemetryBatch
equals, getCommonAttributes, getTelemetry, hasCommonAttributes, hashCode, isEmpty, size, split, toString
-
-
-
-
Constructor Detail
-
LogBatch
public LogBatch(java.util.Collection<Log> telemetry, Attributes commonAttributes)
-
-
Method Detail
-
createSubBatch
public TelemetryBatch<Log> createSubBatch(java.util.Collection<Log> telemetry)
- Specified by:
createSubBatch
in classTelemetryBatch<Log>
-
-