|
Brooklyn | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object brooklyn.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, PARENT_LOCATION, hostGeoInfo, 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)
|
SimulatedLocation
|
newSubLocation(java.util.Map newFlags)
|
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)
|
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)
@Override public SimulatedLocation newSubLocation(java.util.Map newFlags)
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.