Interface ConfigurationManager
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
DynamicConfigManager,TcConfigManager
public interface ConfigurationManager extends Serializable
-
-
Field Summary
Fields Modifier and Type Field Description static longserialVersionUID
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidaddServer(int stripeIndex, TerracottaServer newServer)voidaddStripe(TerracottaServer... newServers)voidcreateDisruptionLinks(TerracottaServer terracottaServer, DisruptionProvider disruptionProvider, Map<ServerSymbolicName,Disruptor> disruptionLinks, Map<ServerSymbolicName,Integer> proxiedPorts, PortAllocator portAllocator)TerracottaServergetServer(int stripeIndex, int serverIndex)TerracottaServergetServer(UUID serverId)List<TerracottaServer>getServers()Collection<String>getServersHostnames()intgetStripeIndexOf(UUID serverId)List<List<TerracottaServer>>getStripes()default voidinit(PortAllocator portAllocator)voidremoveServer(int stripeIndex, int serverIndex)voidremoveStripe(int stripeIndex)
-
-
-
Field Detail
-
serialVersionUID
static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
addStripe
void addStripe(TerracottaServer... newServers)
-
removeStripe
void removeStripe(int stripeIndex)
-
getStripeIndexOf
int getStripeIndexOf(UUID serverId)
-
getStripes
List<List<TerracottaServer>> getStripes()
-
addServer
void addServer(int stripeIndex, TerracottaServer newServer)
-
removeServer
void removeServer(int stripeIndex, int serverIndex)
-
getServer
TerracottaServer getServer(int stripeIndex, int serverIndex)
-
getServer
TerracottaServer getServer(UUID serverId)
-
getServers
List<TerracottaServer> getServers()
-
getServersHostnames
Collection<String> getServersHostnames()
-
init
default void init(PortAllocator portAllocator)
-
createDisruptionLinks
void createDisruptionLinks(TerracottaServer terracottaServer, DisruptionProvider disruptionProvider, Map<ServerSymbolicName,Disruptor> disruptionLinks, Map<ServerSymbolicName,Integer> proxiedPorts, PortAllocator portAllocator)
-
-