|
GigaSpaces XAP 10.0.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Transports
Transports hold all the different Transports that are currently
siscovered.
Provides simple means to get all the current transports, as well as as registering for transport lifecycle (added and removed) events.
Provides the ability to start a statistics monitor on all current transports using
StatisticsMonitor.startStatisticsMonitor(). Newly discovered transports will automatically use
the statistics monitor as well.
| Field Summary |
|---|
| Fields inherited from interface org.openspaces.admin.StatisticsMonitor |
|---|
DEFAULT_HISTORY_SIZE, DEFAULT_MONITOR_INTERVAL |
| Method Summary | |
|---|---|
TransportsDetails |
getDetails()
Returns the aggregated details (non changeable) of all the currently discovered transports. |
int |
getSize()
Returns the number of currently discovered transports. |
TransportsStatistics |
getStatistics()
Returns the aggregated statistics of all the currently discovered transports. |
TransportsStatisticsChangedEventManager |
getStatisticsChanged()
Allows to register for aggregated TransportsStatisticsChangedEvents. |
Transport |
getTransportByHostAndPort(String host,
int port)
Returns the transport that is bounded on the specified host and port. |
Transport |
getTransportByUID(String uid)
Returns the transport based on the specified UID. |
Transport[] |
getTransports()
Returns all the currently discovered transports. |
Transport[] |
getTransports(String host)
Returns all the transports bounded on the specified host. |
TransportStatisticsChangedEventManager |
getTransportStatisticsChanged()
Allows to register for transport level TransportStatisticsChangedEvents. |
| Methods inherited from interface java.lang.Iterable |
|---|
iterator |
| Methods inherited from interface org.openspaces.admin.AdminAware |
|---|
getAdmin |
| Methods inherited from interface org.openspaces.admin.StatisticsMonitor |
|---|
isMonitoring, setStatisticsHistorySize, setStatisticsInterval, startStatisticsMonitor, stopStatisticsMonitor |
| Method Detail |
|---|
Transport[] getTransports()
Transport[] getTransports(String host)
Transport.getBindHost()
Transport getTransportByHostAndPort(String host,
int port)
Transport.getBindHost(),
Transport.getPort()Transport getTransportByUID(String uid)
int getSize()
TransportsDetails getDetails()
TransportsStatistics getStatistics()
TransportsStatisticsChangedEventManager getStatisticsChanged()
TransportsStatisticsChangedEvents.
Note, the transports must be in a monitoring state in order to receive the events.
TransportStatisticsChangedEventManager getTransportStatisticsChanged()
TransportStatisticsChangedEvents.
Note, the transports must be in a monitoring state in order to receive the events.
|
GigaSpaces XAP 10.0.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||