Package org.openspaces.admin.transport
Interface Transport
- All Superinterfaces:
StatisticsMonitor,VirtualMachineAware
- All Known Subinterfaces:
InternalTransport
- All Known Implementing Classes:
DefaultTransport
A transport holds information on the communication layer that is used by a grid component.
- Author:
- kimchy
-
Field Summary
Fields inherited from interface org.openspaces.admin.StatisticsMonitor
DEFAULT_HISTORY_SIZE, DEFAULT_MONITOR_INTERVAL -
Method Summary
Modifier and TypeMethodDescriptionReturns the host name or address the communication layer bounded on.Returns the details (non changeable) of the transport.Returns the host address of the transport.Returns the host address of the transport.Return the LRMI monitoring of this transport.intgetPort()Returns the port number the communication layer is using.Returns the transport statistics.Allows to register forTransportStatisticsChangedEvents.getUid()Returns the UID of the transport.Methods inherited from interface org.openspaces.admin.StatisticsMonitor
isMonitoring, setStatisticsHistorySize, setStatisticsInterval, startStatisticsMonitor, stopStatisticsMonitorMethods inherited from interface org.openspaces.admin.vm.VirtualMachineAware
getVirtualMachine
-
Method Details
-
getUid
String getUid()Returns the UID of the transport. -
getHostAddress
String getHostAddress()Returns the host address of the transport.- See Also:
-
getHostName
String getHostName()Returns the host address of the transport.- See Also:
-
getBindHost
String getBindHost()Returns the host name or address the communication layer bounded on. -
getPort
int getPort()Returns the port number the communication layer is using. -
getDetails
TransportDetails getDetails()Returns the details (non changeable) of the transport. -
getStatistics
TransportStatistics getStatistics()Returns the transport statistics. -
getStatisticsChanged
TransportStatisticsChangedEventManager getStatisticsChanged()Allows to register forTransportStatisticsChangedEvents.Note, the transport needs to be in a monitoring state. See
StatisticsMonitor.startStatisticsMonitor(). -
getLRMIMonitoring
TransportLRMIMonitoring getLRMIMonitoring()Return the LRMI monitoring of this transport. SeeTransportLRMIMonitoring.
-