public class PersistentIdSourceKeyExternalizer extends Object implements org.infinispan.commons.marshall.AdvancedExternalizer<PersistentIdSourceKey>
PersistentIdSourceKey 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 PersistentIdSourceKeyExternalizer |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getId() |
Set<Class<? extends PersistentIdSourceKey>> |
getTypeClasses() |
PersistentIdSourceKey |
readObject(ObjectInput input) |
void |
writeObject(ObjectOutput output,
PersistentIdSourceKey key) |
public static final PersistentIdSourceKeyExternalizer INSTANCE
public void writeObject(ObjectOutput output, PersistentIdSourceKey key) throws IOException
writeObject in interface org.infinispan.commons.marshall.Externalizer<PersistentIdSourceKey>IOExceptionpublic PersistentIdSourceKey readObject(ObjectInput input) throws IOException, ClassNotFoundException
readObject in interface org.infinispan.commons.marshall.Externalizer<PersistentIdSourceKey>IOExceptionClassNotFoundExceptionpublic Set<Class<? extends PersistentIdSourceKey>> getTypeClasses()
getTypeClasses in interface org.infinispan.commons.marshall.AdvancedExternalizer<PersistentIdSourceKey>public Integer getId()
getId in interface org.infinispan.commons.marshall.AdvancedExternalizer<PersistentIdSourceKey>Copyright © 2010–2017 Hibernate. All rights reserved.