org.terracotta.management.entity.client
Class ManagementAgentEntityFactory

java.lang.Object
  extended by org.terracotta.management.entity.client.ManagementAgentEntityFactory

public class ManagementAgentEntityFactory
extends Object

Author:
Mathieu Carbou

Constructor Summary
ManagementAgentEntityFactory(org.terracotta.connection.Connection connection)
           
 
Method Summary
 ManagementAgentEntity create(ManagementAgentConfig config)
           
 ManagementAgentEntity retrieve()
           
 ManagementAgentEntity retrieveOrCreate(ManagementAgentConfig config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManagementAgentEntityFactory

public ManagementAgentEntityFactory(org.terracotta.connection.Connection connection)
Method Detail

retrieveOrCreate

public ManagementAgentEntity retrieveOrCreate(ManagementAgentConfig config)

retrieve

public ManagementAgentEntity retrieve()
                               throws org.terracotta.exception.EntityNotFoundException
Throws:
org.terracotta.exception.EntityNotFoundException

create

public ManagementAgentEntity create(ManagementAgentConfig config)
                             throws org.terracotta.exception.EntityAlreadyExistsException
Throws:
org.terracotta.exception.EntityAlreadyExistsException


Copyright © 2016. All Rights Reserved.