Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Berkeley DB Java Edition version 4.0.103
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sleepycat.je.rep
Interface ReplicationNode

    public interface ReplicationNode

An administrative view of a node in a replication group.

Method Summary
`String` | `getHostName()` Returns the host name associated with the node.
`String` | `getName()` Returns the unique name associated with the node.
`int` | `getPort()` Returns the port number associated with the node.
`InetSocketAddress` | `getSocketAddress()` The socket address used by other nodes in the replication group to communicate with this node.
`NodeType` | `getType()` Returns the type associated with the node.

Method Detail

### getName

    String getName()

  Returns the unique name associated with the node.

  Returns:
    the name of the node.

### getType

    NodeType getType()

  Returns the type associated with the node.

  Returns:
    one of `ELECTABLE` or `MONITOR`

### getSocketAddress

    InetSocketAddress getSocketAddress()

  The socket address used by other nodes in the replication group to communicate with this node.

  Returns:
    the socket address

### getHostName

    String getHostName()

  Returns the host name associated with the node.

  Returns:
    the host name of the node.

### getPort

    int getPort()

  Returns the port number associated with the node.

  Returns:
    the port number of the node.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Berkeley DB Java Edition version 4.0.103
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright (c) 2004-2010 Oracle. All rights reserved.