public class EntityKeyMetadataExternalizer extends Object implements org.infinispan.commons.marshall.AdvancedExternalizer<EntityKeyMetadata>
EntityKeyMetadata instances. Implicitly used by
InfinispanDialect during mass-indexing where EntityKeyMetadata instances are sent to the cluster
nodes in order to find the matching entries from the global entity cache.
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 EntityKeyMetadataExternalizer |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getId() |
Set<Class<? extends EntityKeyMetadata>> |
getTypeClasses() |
EntityKeyMetadata |
readObject(ObjectInput input) |
void |
writeObject(ObjectOutput output,
EntityKeyMetadata metadata) |
public static final EntityKeyMetadataExternalizer INSTANCE
public void writeObject(ObjectOutput output, EntityKeyMetadata metadata) throws IOException
writeObject in interface org.infinispan.commons.marshall.Externalizer<EntityKeyMetadata>IOExceptionpublic EntityKeyMetadata readObject(ObjectInput input) throws IOException, ClassNotFoundException
readObject in interface org.infinispan.commons.marshall.Externalizer<EntityKeyMetadata>IOExceptionClassNotFoundExceptionpublic Set<Class<? extends EntityKeyMetadata>> getTypeClasses()
getTypeClasses in interface org.infinispan.commons.marshall.AdvancedExternalizer<EntityKeyMetadata>public Integer getId()
getId in interface org.infinispan.commons.marshall.AdvancedExternalizer<EntityKeyMetadata>Copyright © 2010–2017 Hibernate. All rights reserved.