GigaSpaces XAP 10.0.1 API

org.openspaces.admin.transport
Interface Transport

All Superinterfaces:
StatisticsMonitor, VirtualMachineAware

public interface Transport
extends VirtualMachineAware, StatisticsMonitor

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
 String getBindHost()
          Returns the host name or address the communication layer bounded on.
 TransportDetails getDetails()
          Returns the details (non changeable) of the transport.
 String getHostAddress()
          Returns the host address of the transport.
 String getHostName()
          Returns the host address of the transport.
 TransportLRMIMonitoring getLRMIMonitoring()
          Return the LRMI monitoring of this transport.
 int getPort()
          Returns the port number the communication layer is using.
 TransportStatistics getStatistics()
          Returns the transport statistics.
 TransportStatisticsChangedEventManager getStatisticsChanged()
          Allows to register for TransportStatisticsChangedEvents.
 String getUid()
          Returns the UID of the transport.
 
Methods inherited from interface org.openspaces.admin.vm.VirtualMachineAware
getVirtualMachine
 
Methods inherited from interface org.openspaces.admin.StatisticsMonitor
isMonitoring, setStatisticsHistorySize, setStatisticsInterval, startStatisticsMonitor, stopStatisticsMonitor
 

Method Detail

getUid

String getUid()
Returns the UID of the transport.


getHostAddress

String getHostAddress()
Returns the host address of the transport.

See Also:
InetAddress.getLocalHost(), InetAddress.getHostAddress()

getHostName

String getHostName()
Returns the host address of the transport.

See Also:
InetAddress.getLocalHost(), InetAddress.getHostName()

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 for TransportStatisticsChangedEvents.

Note, the transport needs to be in a monitoring state. See StatisticsMonitor.startStatisticsMonitor().


getLRMIMonitoring

TransportLRMIMonitoring getLRMIMonitoring()
Return the LRMI monitoring of this transport. See TransportLRMIMonitoring.


GigaSpaces XAP 10.0.1 API

Copyright © GigaSpaces.