org.codehaus.gpars

groovyx.gpars.remote
[Java] Class LocalHostRegistry

java.lang.Object
  groovyx.gpars.remote.LocalHostRegistry

@SuppressWarnings({"UtilityClass"})
public class LocalHostRegistry
extends java.lang.Object

Registry of local hosts

Authors:
Alex Tkachman


Field Summary
static java.util.Set localHosts

 
Constructor Summary
private LocalHostRegistry()

 
Method Summary
static void addLocalHost(LocalHost localHost)

static void connect(LocalNode node)

static void disconnect(LocalNode node)

static void removeLocalHost(LocalHost localHost)

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Field Detail

localHosts

public static final java.util.Set localHosts


 
Constructor Detail

LocalHostRegistry

private LocalHostRegistry()


 
Method Detail

addLocalHost

public static void addLocalHost(LocalHost localHost)


connect

public static void connect(LocalNode node)


disconnect

public static void disconnect(LocalNode node)


removeLocalHost

public static void removeLocalHost(LocalHost localHost)


 

Copyright © 2008–2010 Václav Pech. All Rights Reserved.