public static class WAL.Entry extends Object
Modifier and Type | Field and Description |
---|---|
private WALEdit |
edit |
private WALKeyImpl |
key |
Constructor and Description |
---|
Entry() |
Entry(WALKeyImpl key,
WALEdit edit)
Constructor for both params
|
Modifier and Type | Method and Description |
---|---|
WALEdit |
getEdit()
Gets the edit
|
WALKeyImpl |
getKey()
Gets the key
|
void |
setCompressionContext(CompressionContext compressionContext)
Set compression context for this entry.
|
String |
toString() |
private final WALKeyImpl key
public Entry()
public Entry(WALKeyImpl key, WALEdit edit)
edit
- log's editkey
- log's keypublic WALKeyImpl getKey()
public void setCompressionContext(CompressionContext compressionContext)
compressionContext
- Compression contextCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.