public class MemcachedValue extends CacheValue
The class can be marshalled either via its externalizer or via the JVM serialization. The reason for supporting both methods is to enable third-party libraries to be able to marshall/unmarshall them using standard JVM serialization rules. The Infinispan marshalling layer will always chose the most performant one, aka the AdvancedExternalizer method.
| Modifier and Type | Class and Description |
|---|---|
static class |
MemcachedValue.Externalizer |
| Constructor and Description |
|---|
MemcachedValue(byte[] data,
long version,
long flags) |
public byte[] data()
data in class CacheValuepublic long version()
version in class CacheValuepublic long flags()
public String toString()
toString in class CacheValueCopyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.