public class ProtocolUtils extends Object
| Constructor and Description |
|---|
ProtocolUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Long |
streamOpCRC32(String stream)
Generate crc32 for any op which only passes a stream name.
|
static Long |
truncateOpCRC32(String stream,
DLSN dlsn)
Generate crc32 for TruncateOp.
|
static Long |
writeOpCRC32(String stream,
byte[] payload)
Generate crc32 for WriteOp.
|
Copyright © 2016. All Rights Reserved.