|
Brooklyn | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbrooklyn.location.basic.AbstractLocation
brooklyn.location.basic.SimulatedLocation
public class SimulatedLocation extends AbstractLocation
Location for use in dev/test, defining custom start/stop support, and/or tweaking the ports which are permitted to be available (using setPermittedPorts(Iterable))
Field Summary |
---|
Fields inherited from class AbstractLocation | |
---|---|
LOG, hostGeoInfo, leftoverProperties, name |
Constructor Summary | |
SimulatedLocation()
|
|
SimulatedLocation(java.util.Map flags)
|
Method Summary | |
---|---|
java.net.InetAddress
|
getAddress()
|
OsDetails
|
getOsDetails()
|
java.util.Map
|
getProvisioningFlags(java.util.Collection tags)
|
MachineLocation
|
obtain(java.util.Map flags)
|
int
|
obtainPort(PortRange range)
|
boolean
|
obtainSpecificPort(int portNumber)
|
void
|
release(MachineLocation machine)
|
void
|
releasePort(int portNumber)
|
void
|
setPermittedPorts(java.lang.Iterable ports)
|
Methods inherited from class AbstractLocation | |
---|---|
addChildLocation, configure, configure, containsLocation, equals, findLocationProperty, getChildLocations, getHostGeoInfo, getId, getLocationProperty, getName, getParentLocation, hasLocationProperty, hashCode, removeChildLocation, setHostGeoInfo, setParentLocation, string, toString |
Constructor Detail |
---|
public SimulatedLocation()
public SimulatedLocation(java.util.Map flags)
Method Detail |
---|
public java.net.InetAddress getAddress()
@Override public OsDetails getOsDetails()
public java.util.Map getProvisioningFlags(java.util.Collection tags)
public MachineLocation obtain(java.util.Map flags)
public int obtainPort(PortRange range)
public boolean obtainSpecificPort(int portNumber)
public void release(MachineLocation machine)
public void releasePort(int portNumber)
public void setPermittedPorts(java.lang.Iterable ports)
Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.