public class FsLogSegments extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
initalSegmentId |
protected int |
segmentCount |
protected FsLogSegment[] |
segments |
| Constructor and Description |
|---|
FsLogSegments() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSegment(FsLogSegment segment)
invoked by the conductor after a new segment has been allocated
|
void |
closeAll() |
FsLogSegment |
getFirst() |
FsLogSegment |
getSegment(int segmentId) |
int |
getSegmentCount() |
void |
init(int initalSegmentId,
FsLogSegment[] initialSegments) |
protected int initalSegmentId
protected FsLogSegment[] segments
protected volatile int segmentCount
public void init(int initalSegmentId,
FsLogSegment[] initialSegments)
public void addSegment(FsLogSegment segment)
public FsLogSegment getSegment(int segmentId)
public FsLogSegment getFirst()
public void closeAll()
public int getSegmentCount()
Copyright © 2017–2018 camunda services GmbH. All rights reserved.