GOSSIP-32 Javadoc errors blocking release
This commit is contained in:
@ -23,7 +23,6 @@ import java.net.URI;
|
||||
/**
|
||||
* A abstract class representing a gossip member.
|
||||
*
|
||||
* @author joshclemm, harmenw
|
||||
*/
|
||||
public abstract class GossipMember implements Comparable<GossipMember> {
|
||||
|
||||
@ -44,6 +43,8 @@ public abstract class GossipMember implements Comparable<GossipMember> {
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param clusterName
|
||||
* The name of the cluster
|
||||
* @param uri
|
||||
* A URI object containing IP/hostname and port
|
||||
* @param heartbeat
|
||||
@ -69,7 +70,7 @@ public abstract class GossipMember implements Comparable<GossipMember> {
|
||||
|
||||
|
||||
/**
|
||||
* The member address in the form IP/host:port Similar to the toString in
|
||||
* @return The member address in the form IP/host:port Similar to the toString in
|
||||
* {@link InetSocketAddress}
|
||||
*/
|
||||
public String getAddress() {
|
||||
|
@ -84,8 +84,9 @@ public class GossipService {
|
||||
}
|
||||
|
||||
/**
|
||||
* Gossip data in a namespace that is per-node { node-id { key->value } }
|
||||
* Gossip data in a namespace that is per-node { node-id { key, value } }
|
||||
* @param message
|
||||
* message to be gossip'ed across the cluster
|
||||
*/
|
||||
public void gossipPerNodeData(GossipDataMessage message){
|
||||
gossipManager.gossipPerNodeData(message);
|
||||
@ -93,17 +94,21 @@ public class GossipService {
|
||||
|
||||
/**
|
||||
* Retrieve per-node gossip data by key
|
||||
*
|
||||
* @param nodeId
|
||||
* the id of the node that owns the data
|
||||
* @param key
|
||||
* @return return the value if found or null if not found or expired
|
||||
* the key in the per-node map to find the data
|
||||
* @return the value if found or null if not found or expired
|
||||
*/
|
||||
public GossipDataMessage findPerNodeData(String nodeId, String key){
|
||||
return getGossipManager().findPerNodeGossipData(nodeId, key);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gossip shared data
|
||||
*
|
||||
* @param message
|
||||
* Shared data to gossip around the cluster
|
||||
*/
|
||||
public void gossipSharedData(SharedGossipDataMessage message){
|
||||
gossipManager.gossipSharedData(message);
|
||||
@ -111,8 +116,9 @@ public class GossipService {
|
||||
|
||||
/**
|
||||
*
|
||||
* @param key the key to search for
|
||||
* @return
|
||||
* @param key
|
||||
* the key to search for
|
||||
* @return the value associated with given key
|
||||
*/
|
||||
public SharedGossipDataMessage findSharedData(String key){
|
||||
return getGossipManager().findSharedGossipData(key);
|
||||
|
@ -37,6 +37,7 @@ public class LocalGossipMember extends GossipMember {
|
||||
* @param uri
|
||||
* The uri of the member
|
||||
* @param id
|
||||
* id of the node
|
||||
* @param heartbeat
|
||||
* The current heartbeat.
|
||||
* @param notificationListener
|
||||
|
Reference in New Issue
Block a user