public interface EntityService
extends org.ehcache.spi.service.Service
| Modifier and Type | Method and Description |
|---|---|
<E extends org.terracotta.connection.entity.Entity,C> |
newClientEntityFactory(java.lang.String entityIdentifier,
java.lang.Class<E> entityType,
long entityVersion,
C configuration)
Creates a factory class used to create, fetch and destroy server entities through the same connection used by this
CacheManager |
<E extends org.terracotta.connection.entity.Entity,C> ClientEntityFactory<E,C> newClientEntityFactory(java.lang.String entityIdentifier, java.lang.Class<E> entityType, long entityVersion, C configuration)
CacheManagerE - The entity type, extending EntityC - The configuration classentityIdentifier - The entity nameentityType - The entity classentityVersion - The entity versionconfiguration - Any configuration object that might be pass when creating the entity, or null if none