public class Segment extends Object
| 构造器和说明 |
|---|
Segment(SegmentBuffer buffer) |
| 限定符和类型 | 方法和说明 |
|---|---|
SegmentBuffer |
getBuffer() |
long |
getIdle() |
long |
getMax() |
int |
getStep() |
AtomicLong |
getValue() |
void |
setMax(long max) |
void |
setStep(int step) |
void |
setValue(AtomicLong value) |
String |
toString() |
public Segment(SegmentBuffer buffer)
public AtomicLong getValue()
public void setValue(AtomicLong value)
public long getMax()
public void setMax(long max)
public int getStep()
public void setStep(int step)
public SegmentBuffer getBuffer()
public long getIdle()
Copyright © 2022 Meituan-Dianping Group. All rights reserved.