jgroup.core
Interface VMID

All Superinterfaces:
java.io.Externalizable, java.io.Serializable
All Known Implementing Classes:
VMIDImpl

public interface VMID
extends java.io.Externalizable

The purpose of the VMID interface is to uniquely identify a Java Virtual Machine. Each VMID instance is composed by an IP address and an incarnation time.

Since:
Jgroup 0.7
Author:
Alberto Montresor

Method Summary
 java.net.InetAddress getAddress()
          Returns the IP address of the host on which the virtual machine identified by this VMID is being executed.
 long getTime()
          Returns the time at which this VMID has been created.
 
Methods inherited from interface java.io.Externalizable
readExternal, writeExternal
 

Method Detail

getAddress

java.net.InetAddress getAddress()
                                throws java.net.UnknownHostException
Returns the IP address of the host on which the virtual machine identified by this VMID is being executed.

Throws:
java.net.UnknownHostException

getTime

long getTime()
Returns the time at which this VMID has been created.



Copyright © 1998-2006 The Jgroup/ARM development team. All Rights Reserved.