| Package | Description |
|---|---|
| com.terracotta.entity | |
| com.terracotta.entity.ehcache |
| Modifier and Type | Method and Description |
|---|---|
<T extends RootEntity> |
ClusteredEntityManager.addRootEntityIfAbsent(String name,
Class<T> clusteredEntityClass,
T clusteredEntity)
Method for adding a
RootEntity to this ClusteredEntityManager. |
<T extends RootEntity> |
ClusteredEntityManager.destroyRootEntity(String name,
Class<T> rootEntityClass,
T controlEntity)
Method for destroying a root entity
This method will follow these steps: Put entity in exclusive maintenance mode If this fails, throws IllegalStateException
Verify the entity passed in matches the current known entity
If this fails, throws IllegalArgumentException
Mark the entity with ClusteredEntityState.DESTROY_IN_PROGRESS and save it
If this fails, throws UnsupportedOperationException
Perform the destroy operation
|
<T extends RootEntity> |
ClusteredEntityManager.getRootEntities(Class<T> entityClass) |
<T extends RootEntity> |
ClusteredEntityManager.getRootEntity(String name,
Class<T> entityClass) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ClusteredCacheManager
ClusteredCacheManager
|
| Modifier and Type | Class and Description |
|---|---|
class |
ToolkitBackedClusteredCacheManager
ClusteredCacheManager
|
Copyright © 2019 Terracotta, Inc.. All rights reserved.