public class ApacheLoadBalancerAgent extends Object implements net.jini.discovery.DiscoveryListener, net.jini.lookup.ServiceDiscoveryListener, Runnable
Note, internal API here on how to find processing units is subject to change.
Constructor and Description |
---|
ApacheLoadBalancerAgent() |
Modifier and Type | Method and Description |
---|---|
void |
discarded(net.jini.discovery.DiscoveryEvent event) |
void |
discovered(net.jini.discovery.DiscoveryEvent event) |
String |
getApachectlLocation() |
String |
getConfigLocation() |
String[] |
getGroups() |
String |
getLocators() |
String |
getRestartCommand() |
int |
getUpdateInterval() |
static void |
main(String[] args) |
static void |
printUsage() |
void |
run() |
void |
serviceAdded(net.jini.lookup.ServiceDiscoveryEvent event) |
void |
serviceChanged(net.jini.lookup.ServiceDiscoveryEvent event) |
void |
serviceRemoved(net.jini.lookup.ServiceDiscoveryEvent event) |
void |
setApachectlLocation(String apachectlLocation) |
void |
setConfigLocation(String configLocation) |
void |
setGroups(String[] groups) |
void |
setLocators(String locators) |
void |
setRestartCommand(String restartCommand) |
void |
setUpdateInterval(int updateInterval) |
void |
start() |
void |
stop() |
public String[] getGroups()
public void setGroups(String[] groups)
public String getLocators()
public void setLocators(String locators)
public String getApachectlLocation()
public void setApachectlLocation(String apachectlLocation)
public String getConfigLocation()
public void setConfigLocation(String configLocation)
public int getUpdateInterval()
public void setUpdateInterval(int updateInterval)
public String getRestartCommand()
public void setRestartCommand(String restartCommand)
public void stop()
public void discovered(net.jini.discovery.DiscoveryEvent event)
discovered
in interface net.jini.discovery.DiscoveryListener
public void discarded(net.jini.discovery.DiscoveryEvent event)
discarded
in interface net.jini.discovery.DiscoveryListener
public void serviceAdded(net.jini.lookup.ServiceDiscoveryEvent event)
serviceAdded
in interface net.jini.lookup.ServiceDiscoveryListener
public void serviceRemoved(net.jini.lookup.ServiceDiscoveryEvent event)
serviceRemoved
in interface net.jini.lookup.ServiceDiscoveryListener
public void serviceChanged(net.jini.lookup.ServiceDiscoveryEvent event)
serviceChanged
in interface net.jini.lookup.ServiceDiscoveryListener
public static void printUsage()
Copyright © GigaSpaces.