| Package | Description |
|---|---|
| com.twitter.distributedlog | |
| com.twitter.distributedlog.io |
| Modifier and Type | Method and Description |
|---|---|
static LogRecordSet.Writer |
LogRecordSet.newWriter(int initialBufferSize,
CompressionCodec.Type codec) |
| Modifier and Type | Method and Description |
|---|---|
static CompressionCodec.Type |
CompressionUtils.stringToType(String compressionString)
Compression type value from string.
|
static CompressionCodec.Type |
CompressionCodec.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompressionCodec.Type[] |
CompressionCodec.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static CompressionCodec |
CompressionUtils.getCompressionCodec(CompressionCodec.Type type)
Get a cached compression codec instance for the specified type.
|
Copyright © 2016. All Rights Reserved.