protected class AbstractWALRoller.RollController extends Object
| Modifier and Type | Field and Description | 
|---|---|
| private long | lastRollTime | 
| private AtomicBoolean | rollRequest | 
| private WAL | wal | 
| Constructor and Description | 
|---|
| RollController(WAL wal) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | isRollRequested() | 
| boolean | needsPeriodicRoll(long now) | 
| boolean | needsRoll(long now) | 
| void | requestRoll() | 
| Map<byte[],List<byte[]>> | rollWal(long now) | 
private final AtomicBoolean rollRequest
private long lastRollTime
RollController(WAL wal)
public void requestRoll()
public Map<byte[],List<byte[]>> rollWal(long now) throws IOException
IOExceptionpublic boolean isRollRequested()
public boolean needsPeriodicRoll(long now)
public boolean needsRoll(long now)
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.