public class MeshDataBufferFileCache extends Object implements org.apache.skywalking.apm.commons.datacarrier.consumer.IConsumer<ServiceMeshMetricDataDecorator>, DataStreamReader.CallBack<ServiceMeshMetric>
| Constructor and Description |
|---|
MeshDataBufferFileCache(MeshModuleConfig config) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
call(ServiceMeshMetric message)
File buffer callback.
|
void |
consume(List<ServiceMeshMetricDataDecorator> data)
Queue callback, make sure concurrency doesn't happen
|
void |
in(ServiceMeshMetric metric) |
void |
init() |
void |
onError(List<ServiceMeshMetricDataDecorator> data,
Throwable t) |
void |
onExit() |
public MeshDataBufferFileCache(MeshModuleConfig config)
public void init()
init in interface org.apache.skywalking.apm.commons.datacarrier.consumer.IConsumer<ServiceMeshMetricDataDecorator>public void in(ServiceMeshMetric metric)
public void consume(List<ServiceMeshMetricDataDecorator> data)
consume in interface org.apache.skywalking.apm.commons.datacarrier.consumer.IConsumer<ServiceMeshMetricDataDecorator>data - public void onError(List<ServiceMeshMetricDataDecorator> data, Throwable t)
onError in interface org.apache.skywalking.apm.commons.datacarrier.consumer.IConsumer<ServiceMeshMetricDataDecorator>public void onExit()
onExit in interface org.apache.skywalking.apm.commons.datacarrier.consumer.IConsumer<ServiceMeshMetricDataDecorator>public boolean call(ServiceMeshMetric message)
call in interface DataStreamReader.CallBack<ServiceMeshMetric>message - Copyright © 2018 The Apache Software Foundation. All rights reserved.