Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47890-01


com.tangosol.net
Interface Member

All Superinterfaces:
MemberIdentity
All Known Implementing Classes:
RemoteMember

public interface Member
extends MemberIdentity

The Member interface represents a cluster member.

Since:
Coherence 1.1
Author:
gg 2002.02.08

Method Summary
 java.net.InetAddress getAddress()
          Return the IP address of the Member's DatagramSocket for point-to-point communication.
 int getId()
          Return a small number that uniquely identifies the Member at this point in time and does not change for the life of this Member.
 int getPort()
          Return the port of the Member's DatagramSocket for point-to-point communication.
 long getTimestamp()
          Return the date/time value (in cluster time) that the Member joined.
 UID getUid()
          Return the unique identifier of the Member.

 

Methods inherited from interface com.tangosol.net.MemberIdentity
getClusterName, getMachineId, getMachineName, getMemberName, getPriority, getProcessName, getRackName, getRoleName, getSiteName

 

Method Detail

getAddress

java.net.InetAddress getAddress()
Return the IP address of the Member's DatagramSocket for point-to-point communication.
Returns:
the IP address of the Member's DatagramSocket

getPort

int getPort()
Return the port of the Member's DatagramSocket for point-to-point communication.
Returns:
the port of the Member's DatagramSocket

getTimestamp

long getTimestamp()
Return the date/time value (in cluster time) that the Member joined.
Returns:
the cluster date/time value that the Member joined

getUid

UID getUid()
Return the unique identifier of the Member.
Returns:
the unique identifier of the Member

getId

int getId()
Return a small number that uniquely identifies the Member at this point in time and does not change for the life of this Member.

This value sometimes referred to as a "mini-id" in comparison to the "Uid" returned by getUid(). It does not uniquely identify the Member throughout the duration of the cluster because Members that existed but left the cluster before this Member existed may have had the same mini-id value and the same goes for Members that may join the cluster after this Member leaves the cluster.

Returns:
the mini-id of the Member
Since:
Coherence 1.2

Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Coherence
12c (12.1.3.0.0)

E47890-01


Copyright © 2000, 2014, Oracle and/or its affiliates. All rights reserved.