public final class GlobalCacheManager extends Object
Modifier and Type | Field and Description |
---|---|
static String |
PROP_GCMANAGER_NAME |
Modifier and Type | Method and Description |
---|---|
boolean |
addManualGlobalCache(InetAddress inetAddress) |
boolean |
addManualGlobalCache(String ipName) |
void |
addPropertyChangeListener(PropertyChangeListener listener) |
String[] |
getAllNames() |
InetAddress[] |
getAutomatic() |
String[] |
getAutomaticPrettyNames() |
int |
getIndex(InetAddress inetAddress) |
InetAddress |
getInetAddress(int index) |
static GlobalCacheManager |
getInstance() |
InetAddress[] |
getManual() |
String |
getType(int index) |
boolean |
removeManualGlobalCache(InetAddress inetAddress) |
void |
removePropertyChangeListener(PropertyChangeListener listener) |
void |
setDebug(boolean debug) |
public static final String PROP_GCMANAGER_NAME
public static GlobalCacheManager getInstance()
public void setDebug(boolean debug)
debug
- public String getType(int index)
public InetAddress getInetAddress(int index)
public int getIndex(InetAddress inetAddress)
public boolean addManualGlobalCache(String ipName) throws IOException
IOException
public boolean addManualGlobalCache(InetAddress inetAddress)
public boolean removeManualGlobalCache(InetAddress inetAddress)
public InetAddress[] getManual()
public InetAddress[] getAutomatic()
public String[] getAllNames()
public String[] getAutomaticPrettyNames()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
Copyright © 2016. All rights reserved.