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