GigaSpaces XAP 7.0 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.
 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, stopStatisticsMontior
 

Method Detail

getUid

String getUid()
Returns the UID of the transport.


getHostAddress

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

See Also:
java.net.InetAddress#getLocalHost()#getHostAddress()

getHostName

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

See Also:
java.net.InetAddress#getLocalHost()#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().


GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.