public class CyrusIndexHeader
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
answered |
int |
deleted |
long |
deletedModseq |
int |
exists |
long |
firstExpunged |
int |
flagged |
int |
format |
int |
generation |
int |
headerCrc |
int |
headerFileCRC |
int |
headerSize |
long |
highestModseq |
long |
lastAppendDate |
long |
lastCleanup |
int |
lastUid |
int |
leakedCache |
int |
numRecords |
byte[] |
options |
long |
pop3LastLogin |
int |
pop3ShowAfter |
int |
quotaAnnotUsed |
int |
quotaUsed |
long |
recentTime |
int |
recentUid |
int |
recordSize |
int |
startOffset |
int |
syncCRCsAnnot |
int |
syncCRCsBasic |
int |
uidValidity |
int |
unseen |
int |
version |
Constructor and Description |
---|
CyrusIndexHeader(int version) |
Modifier and Type | Method and Description |
---|---|
CyrusIndexHeader |
from(io.netty.buffer.ByteBuf buffer) |
static CyrusIndexHeader |
from(java.io.InputStream stream) |
static int |
getHeaderSize(int version) |
static int |
getRecordSize(int version) |
CyrusIndexHeader |
to(io.netty.buffer.ByteBuf buf) |
java.lang.String |
toString() |
public final int headerSize
public int generation
public int format
public final int version
public int startOffset
public final int recordSize
public int numRecords
public long lastAppendDate
public int lastUid
public int quotaUsed
public long pop3LastLogin
public int uidValidity
public int deleted
public int answered
public int flagged
public final byte[] options
public int leakedCache
public long highestModseq
public long deletedModseq
public int exists
public long firstExpunged
public long lastCleanup
public int headerFileCRC
public int syncCRCsBasic
public int recentUid
public long recentTime
public int pop3ShowAfter
public int quotaAnnotUsed
public int syncCRCsAnnot
public int unseen
public int headerCrc
public java.lang.String toString()
toString
in class java.lang.Object
public CyrusIndexHeader from(io.netty.buffer.ByteBuf buffer) throws UnknownVersion
UnknownVersion
public CyrusIndexHeader to(io.netty.buffer.ByteBuf buf)
public static CyrusIndexHeader from(java.io.InputStream stream) throws java.io.IOException, UnknownVersion
java.io.IOException
UnknownVersion
public static int getHeaderSize(int version) throws UnknownVersion
UnknownVersion
public static int getRecordSize(int version)
Copyright © 2021. All Rights Reserved.