public class VirtualEndpointInstaller extends Object implements EndpointInstaller
| Modifier and Type | Field and Description |
|---|---|
protected Controller |
controller |
protected Integer |
initialSize |
protected AtomicInteger |
lastEndpointID |
protected EndpointNameGenerator |
nameParser |
| Constructor and Description |
|---|
VirtualEndpointInstaller()
Creates new endpoint installer.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canExpand() |
String |
getEndpointClass()
Gets the name of the class implementing endpoint.
|
Integer |
getInitialSize()
Gets the initial size of endpoints pool
|
String |
getNamePattern()
Gets the pattern used for generating endpoint name.
|
void |
install() |
void |
newEndpoint() |
void |
setController(Controller controller) |
void |
setEndpointClass(String endpointClass)
Sets the name of the class implementing endpoint.
|
void |
setInitialSize(Integer initialSize)
Sets the initial size of endpoints pool
|
void |
setNamePattern(String namePattern)
Sets the pattern used for generating endpoint name.
|
void |
uninstall() |
protected Integer initialSize
protected final EndpointNameGenerator nameParser
protected AtomicInteger lastEndpointID
protected Controller controller
public VirtualEndpointInstaller()
public String getNamePattern()
public void setNamePattern(String namePattern)
namePattern - the pattern text.public String getEndpointClass()
public void setEndpointClass(String endpointClass)
endpointClass - the fully qualified class name.public Integer getInitialSize()
public void setInitialSize(Integer initialSize)
initial - sizepublic void setController(Controller controller)
public void install()
install in interface EndpointInstallerpublic void newEndpoint()
newEndpoint in interface EndpointInstallerpublic boolean canExpand()
canExpand in interface EndpointInstallerpublic void uninstall()
uninstall in interface EndpointInstallerCopyright © 2016 TeleStax, Inc.. All Rights Reserved.