|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@ConfigRefConstraint(message="{configref.invalid}",
payload=ConfigRefValidator.class)
public interface ClusterA cluster defines a homogeneous set of server instances that share the same applications, resources, and configuration.
| Nested Class Summary | |
|---|---|
static class |
Cluster.Decorator
|
static class |
Cluster.DeleteDecorator
|
static class |
Cluster.Duck
|
| Method Summary | |
|---|---|
void |
createResourceRef(java.lang.String enabled,
java.lang.String refName)
|
void |
deleteResourceRef(java.lang.String refName)
|
ApplicationRef |
getApplicationRef(java.lang.String appName)
|
java.lang.String |
getBroadcast()
Gets the value of the broadcast property. |
java.lang.String |
getConfigRef()
points to a named config. |
java.lang.String |
getGmsBindInterfaceAddress()
Gets the value of the gmsBindInterfaceAddress property. |
java.lang.String |
getGmsEnabled()
Gets the value of the gmsEnabled property. |
java.lang.String |
getGmsMulticastAddress()
Gets the value of the gmsMulticastAddress property. |
java.lang.String |
getGmsMulticastPort()
Gets the value of the gmsMulticastPort property. |
java.lang.String |
getHeartbeatAddress()
Deprecated. |
java.lang.String |
getHeartbeatEnabled()
Deprecated. |
java.lang.String |
getHeartbeatPort()
Deprecated. |
java.util.List<Server> |
getInstances()
|
java.lang.String |
getName()
|
java.util.List<org.jvnet.hk2.config.types.Property> |
getProperty()
Properties as per PropertyBag |
java.lang.String |
getReference()
Returns the cluster configuration reference |
ResourceRef |
getResourceRef(java.lang.String refName)
|
java.util.List<ServerRef> |
getServerRef()
Gets the value of the serverRef property. |
ServerRef |
getServerRefByRef(java.lang.String ref)
|
java.util.List<SystemProperty> |
getSystemProperty()
Gets the value of the systemProperty property. |
boolean |
isCluster()
|
boolean |
isDas()
|
boolean |
isInstance()
|
boolean |
isResourceRefExists(java.lang.String refName)
|
boolean |
isServer()
|
void |
setBroadcast(java.lang.String value)
Sets the value of the broadcast property. |
void |
setConfigRef(java.lang.String value)
Sets the value of the configRef property. |
void |
setGmsBindInterfaceAddress(java.lang.String value)
Sets the value of the gmsBindInterfaceAddress property. |
void |
setGmsEnabled(java.lang.String value)
Sets the value of the gmsEnabled property. |
void |
setGmsMulticastAddress(java.lang.String value)
Sets the value of the gmsMulticastAddress property. |
void |
setGmsMulticastPort(java.lang.String value)
Sets the value of the gmsMulticastPort property. |
void |
setHeartbeatAddress(java.lang.String value)
Deprecated. |
void |
setHeartbeatEnabled(java.lang.String value)
Deprecated. |
void |
setHeartbeatPort(java.lang.String value)
Deprecated. |
void |
setName(java.lang.String value)
Sets the cluster name |
| Methods inherited from interface org.jvnet.hk2.component.Injectable |
|---|
injectedInto |
| Methods inherited from interface org.jvnet.hk2.config.types.PropertyBag |
|---|
getProperty, getPropertyValue, getPropertyValue |
| Methods inherited from interface com.sun.enterprise.config.serverbeans.SystemPropertyBag |
|---|
containsProperty, getPropertyValue, getSystemProperty, getSystemPropertyValue |
| Methods inherited from interface com.sun.enterprise.config.serverbeans.RefContainer |
|---|
getApplicationRef, getResourceRef |
| Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy |
|---|
createChild, deepCopy, getParent, getParent |
| Method Detail |
|---|
void setName(java.lang.String value)
throws java.beans.PropertyVetoException
setName in interface Namedvalue - cluster name
java.beans.PropertyVetoException - if a listener vetoes the change
@Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\.;]*",
message="{cluster.invalid.name}",
payload=Cluster.class)
java.lang.String getName()
getName in interface Named@NotNull @Pattern(regexp="[A-Za-z0-9_][A-Za-z0-9\\-_\\.;]*") java.lang.String getConfigRef()
void setConfigRef(java.lang.String value)
throws java.beans.PropertyVetoException
value - allowed object is
String
java.beans.PropertyVetoException - if a listener vetoes the change@NotNull java.lang.String getGmsEnabled()
void setGmsEnabled(java.lang.String value)
throws java.beans.PropertyVetoException
value - allowed object is
String
java.beans.PropertyVetoException - if a listener vetoes the change@NotNull java.lang.String getBroadcast()
void setBroadcast(java.lang.String value)
throws java.beans.PropertyVetoException
value - allowed object is
String
java.beans.PropertyVetoException - if a listener vetoes the change@Min(value=2048L) @Max(value=49151L) java.lang.String getGmsMulticastPort()
String
void setGmsMulticastPort(java.lang.String value)
throws java.beans.PropertyVetoException
value - allowed object is
String
java.beans.PropertyVetoException - if a listener vetoes the changejava.lang.String getGmsMulticastAddress()
String
void setGmsMulticastAddress(java.lang.String value)
throws java.beans.PropertyVetoException
value - allowed object is
String
java.beans.PropertyVetoException - if a listener vetoes the changejava.lang.String getGmsBindInterfaceAddress()
String
void setGmsBindInterfaceAddress(java.lang.String value)
throws java.beans.PropertyVetoException
value - allowed object is
String
java.beans.PropertyVetoException - if a listener vetoes the change@Deprecated java.lang.String getHeartbeatEnabled()
@Deprecated
void setHeartbeatEnabled(java.lang.String value)
throws java.beans.PropertyVetoException
value - allowed object is
String
java.beans.PropertyVetoException - if a listener vetoes the change@Deprecated java.lang.String getHeartbeatPort()
String
@Deprecated
void setHeartbeatPort(java.lang.String value)
throws java.beans.PropertyVetoException
value - allowed object is
String
java.beans.PropertyVetoException - if a listener vetoes the change@Deprecated java.lang.String getHeartbeatAddress()
String
@Deprecated
void setHeartbeatAddress(java.lang.String value)
throws java.beans.PropertyVetoException
value - allowed object is
String
java.beans.PropertyVetoException - if a listener vetoes the changejava.util.List<ServerRef> getServerRef()
ServerRef
@ToDo(priority=IMPORTANT,
details="Provide PropertyDesc for legal system props")
java.util.List<SystemProperty> getSystemProperty()
set method for the systemProperty property.
For example, to add a new item, do as follows:
getSystemProperty().add(newItem);
Objects of the following type(s) are allowed in the list
SystemProperty
getSystemProperty in interface SystemPropertyBag
@ToDo(priority=IMPORTANT,
details="Complete PropertyDesc for legal props")
@PropertiesDesc(props=@PropertyDesc(name="GMS_LISTENER_PORT",description="GMS listener port"))
java.util.List<org.jvnet.hk2.config.types.Property> getProperty()
PropertyBag
getProperty in interface org.jvnet.hk2.config.types.PropertyBag@DuckTyped java.lang.String getReference()
getReference in interface ReferenceContainer@DuckTyped java.util.List<Server> getInstances()
@DuckTyped ServerRef getServerRefByRef(java.lang.String ref)
@DuckTyped boolean isCluster()
isCluster in interface ReferenceContainer@DuckTyped boolean isServer()
isServer in interface ReferenceContainer@DuckTyped boolean isDas()
isDas in interface ReferenceContainer@DuckTyped boolean isInstance()
isInstance in interface ReferenceContainer@DuckTyped ApplicationRef getApplicationRef(java.lang.String appName)
@DuckTyped ResourceRef getResourceRef(java.lang.String refName)
@DuckTyped boolean isResourceRefExists(java.lang.String refName)
@DuckTyped
void createResourceRef(java.lang.String enabled,
java.lang.String refName)
throws org.jvnet.hk2.config.TransactionFailure
org.jvnet.hk2.config.TransactionFailure
@DuckTyped
void deleteResourceRef(java.lang.String refName)
throws org.jvnet.hk2.config.TransactionFailure
org.jvnet.hk2.config.TransactionFailure
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||