| Package | Description |
|---|---|
| com.threerings.presents.peer.server | |
| com.threerings.presents.peer.server.persist |
| Modifier and Type | Method and Description |
|---|---|
void |
PeerNode.init(NodeRecord record)
Initializes this peer node and creates its internal client.
|
void |
PeerNode.refresh(NodeRecord record) |
| Modifier and Type | Field and Description |
|---|---|
static Class<NodeRecord> |
NodeRecord._R |
| Modifier and Type | Method and Description |
|---|---|
static Key<NodeRecord> |
NodeRecord.getKey(String nodeName)
Create and return a primary
Key to identify a NodeRecord
with the supplied key values. |
List<NodeRecord> |
NodeRepository.loadNodes()
Returns a list of all nodes registered in the repository that are not explicitly shut down.
|
List<NodeRecord> |
NodeRepository.loadNodes(String namespace)
Returns a list of all nodes registered in the repository with names starting with the given
string that are not explicitly shut down.
|
List<NodeRecord> |
NodeRepository.loadNodes(String namespace,
boolean includeShutdown)
Returns a list of all nodes registered in the repository with names starting with the given
string, optionally including nodes that are explicitly shut down.
|
List<NodeRecord> |
NodeRepository.loadNodesFromRegion(String region)
Returns a list of nodes registered in the repository with the specified region that are not
explicitly shut down.
|
| Modifier and Type | Method and Description |
|---|---|
void |
NodeRepository.updateNode(NodeRecord record)
Updates the supplied node record, inserting it into the database if necessary.
|
Copyright © 2015. All rights reserved.