public class RowKeyExternalizer extends Object implements org.infinispan.commons.marshall.AdvancedExternalizer<RowKey>
RowKey instances. Implicitly used by
InfinispanDialect which stores keys as is in the Infinispan data store.
This externalizer is automatically registered with the cache manager when starting the
InfinispanEmbeddedDatastoreProvider, so it's not required to configure the externalizer in the Infinispan
configuration file.
| Modifier and Type | Field and Description |
|---|---|
static RowKeyExternalizer |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getId() |
Set<Class<? extends RowKey>> |
getTypeClasses() |
RowKey |
readObject(ObjectInput input) |
void |
writeObject(ObjectOutput output,
RowKey key) |
public static final RowKeyExternalizer INSTANCE
public void writeObject(ObjectOutput output, RowKey key) throws IOException
writeObject in interface org.infinispan.commons.marshall.Externalizer<RowKey>IOExceptionpublic RowKey readObject(ObjectInput input) throws IOException, ClassNotFoundException
readObject in interface org.infinispan.commons.marshall.Externalizer<RowKey>IOExceptionClassNotFoundExceptionpublic Set<Class<? extends RowKey>> getTypeClasses()
getTypeClasses in interface org.infinispan.commons.marshall.AdvancedExternalizer<RowKey>Copyright © 2010–2017 Hibernate. All rights reserved.