public enum SegmentBufferManager extends Enum<SegmentBufferManager>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Field and Description |
|---|---|
static String |
DATA_FILE_PREFIX |
| Modifier and Type | Method and Description |
|---|---|
void |
flush() |
void |
initialize(ModuleManager moduleManager) |
static SegmentBufferManager |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SegmentBufferManager[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
void |
writeBuffer(org.apache.skywalking.apm.network.proto.UpstreamSegment segment) |
public static final SegmentBufferManager INSTANCE
public static final String DATA_FILE_PREFIX
public static SegmentBufferManager[] values()
for (SegmentBufferManager c : SegmentBufferManager.values()) System.out.println(c);
public static SegmentBufferManager valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic void initialize(ModuleManager moduleManager)
public void writeBuffer(org.apache.skywalking.apm.network.proto.UpstreamSegment segment)
public void flush()
Copyright © 2018 The Apache Software Foundation. All rights reserved.