public class HelloWorldEntityFactory extends Object
| Constructor and Description |
|---|
HelloWorldEntityFactory(org.terracotta.connection.Connection connection) |
| Modifier and Type | Method and Description |
|---|---|
HelloWorldEntity |
create(String identifier) |
HelloWorldEntity |
retrieve(String entityName) |
HelloWorldEntity |
retrieveOrCreate(String entityName) |
public HelloWorldEntityFactory(org.terracotta.connection.Connection connection)
public HelloWorldEntity retrieveOrCreate(String entityName)
public HelloWorldEntity retrieve(String entityName) throws org.terracotta.exception.EntityNotFoundException
org.terracotta.exception.EntityNotFoundExceptionpublic HelloWorldEntity create(String identifier) throws org.terracotta.exception.EntityAlreadyExistsException
org.terracotta.exception.EntityAlreadyExistsExceptionCopyright © 2016. All Rights Reserved.