public class Server<T extends Server<T>> extends Object
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
Integer |
connectionCount()
Estimate of the current connection count
|
T |
connectionCount(Integer value)
Estimate of the current connection count
|
Integer |
connectionLimitHighWaterMark()
If the connection count hits this number, no new connections will be
accepted until the count drops below the low-water mark.
|
T |
connectionLimitHighWaterMark(Integer value)
If the connection count hits this number, no new connections will be
accepted until the count drops below the low-water mark.
|
Integer |
connectionLimitLowWaterMark()
If the connection count has previously hit the high water mark, once it
drops back down below this count, connections will be accepted again.
|
T |
connectionLimitLowWaterMark(Integer value)
If the connection count has previously hit the high water mark, once it
drops back down below this count, connections will be accepted again.
|
String |
getKey() |
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
public Server(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public Integer connectionCount()
public Integer connectionLimitHighWaterMark()
public T connectionLimitHighWaterMark(Integer value)
public Integer connectionLimitLowWaterMark()
Copyright © 2019 JBoss by Red Hat. All rights reserved.