public class OffHeapHistory extends Object
| Constructor and Description |
|---|
OffHeapHistory() |
| Modifier and Type | Method and Description |
|---|---|
static OffHeapHistory |
createDirectHistory(long sizeBytes,
int dgramSize) |
int |
getPacket(long sequence,
byte[] dest,
int off) |
boolean |
hasSequence(long sequence) |
void |
putPacket(long sequence,
byte[] packet,
int packOff,
int packLen) |
public static OffHeapHistory createDirectHistory(long sizeBytes, int dgramSize)
public void putPacket(long sequence,
byte[] packet,
int packOff,
int packLen)
public int getPacket(long sequence,
byte[] dest,
int off)
public boolean hasSequence(long sequence)
Copyright © 2014. All rights reserved.