public class StatsEnvelope<T> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
StatsEnvelope.Externalizer |
Modifier and Type | Field and Description |
---|---|
static byte |
CREATE |
static byte |
DELETE |
static byte |
HIT |
static byte |
MISS |
static byte |
UPDATE |
Modifier and Type | Method and Description |
---|---|
static <R> StatsEnvelope |
create(R ret,
boolean isNull) |
static <T> StatsEnvelope<T> |
create(T returnValue,
CacheEntry<?,?> e,
boolean exists,
boolean isRead) |
byte |
flags() |
boolean |
isDelete() |
boolean |
isHit() |
boolean |
isMiss() |
String |
toString() |
static Object |
unpack(InvocationContext ctx,
VisitableCommand command,
Object o) |
static Object |
unpackCollection(InvocationContext ctx,
VisitableCommand command,
Object o) |
static Object |
unpackStream(InvocationContext ctx,
VisitableCommand command,
Object o) |
T |
value() |
public static final byte HIT
public static final byte MISS
public static final byte CREATE
public static final byte UPDATE
public static final byte DELETE
public static <T> StatsEnvelope<T> create(T returnValue, CacheEntry<?,?> e, boolean exists, boolean isRead)
public static <R> StatsEnvelope create(R ret, boolean isNull)
public static Object unpack(InvocationContext ctx, VisitableCommand command, Object o)
public static Object unpackCollection(InvocationContext ctx, VisitableCommand command, Object o)
public static Object unpackStream(InvocationContext ctx, VisitableCommand command, Object o)
public T value()
public byte flags()
public boolean isHit()
public boolean isMiss()
public boolean isDelete()
Copyright © 2021 JBoss by Red Hat. All rights reserved.