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.Objectpublic CyrusIndexHeader from(io.netty.buffer.ByteBuf buffer) throws UnknownVersion
UnknownVersionpublic CyrusIndexHeader to(io.netty.buffer.ByteBuf buf)
public static CyrusIndexHeader from(java.io.InputStream stream) throws java.io.IOException, UnknownVersion
java.io.IOExceptionUnknownVersionpublic static int getHeaderSize(int version)
throws UnknownVersion
UnknownVersionpublic static int getRecordSize(int version)
Copyright © 2022. All Rights Reserved.