|
Brooklyn | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
public interface FollowTheSunModel
Captures the state of items, containers and locations for the purpose of moving items around to minimise latency. For consumption by a FollowTheSunStrategy.
Method Summary | |
---|---|
java.util.Set
|
getAvailableContainersFor(ItemType item, Location location)
|
Location
|
getContainerLocation(ContainerType container)
|
java.util.Map
|
getDirectSendsToItemByLocation()
|
ContainerType
|
getItemContainer(ItemType item)
|
Location
|
getItemLocation(ItemType item)
|
java.util.Set
|
getItems()
|
java.lang.String
|
getName()
|
java.lang.String
|
getName(ItemType item)
|
boolean
|
hasActiveMigration(ItemType item)
|
boolean
|
isItemAllowedIn(ItemType item, Location location)
|
boolean
|
isItemMoveable(ItemType item)
|
void
|
onContainerAdded(ContainerType container, Location location)
|
void
|
onContainerLocationUpdated(ContainerType container, Location location)
|
void
|
onContainerRemoved(ContainerType container)
|
void
|
onItemAdded(ItemType item, ContainerType parentContainer, boolean immovable)
|
void
|
onItemMoved(ItemType item, ContainerType newContainer)
|
void
|
onItemRemoved(ItemType item)
|
void
|
onItemUsageUpdated(ItemType item, java.util.Map newValues)
|
Method Detail |
---|
public java.util.Set getAvailableContainersFor(ItemType item, Location location)
public Location getContainerLocation(ContainerType container)
public java.util.Map getDirectSendsToItemByLocation()
public ContainerType getItemContainer(ItemType item)
public Location getItemLocation(ItemType item)
public java.util.Set getItems()
public java.lang.String getName()
public java.lang.String getName(ItemType item)
public boolean hasActiveMigration(ItemType item)
public boolean isItemAllowedIn(ItemType item, Location location)
public boolean isItemMoveable(ItemType item)
public void onContainerAdded(ContainerType container, Location location)
public void onContainerLocationUpdated(ContainerType container, Location location)
public void onContainerRemoved(ContainerType container)
public void onItemAdded(ItemType item, ContainerType parentContainer, boolean immovable)
public void onItemMoved(ItemType item, ContainerType newContainer)
public void onItemRemoved(ItemType item)
public void onItemUsageUpdated(ItemType item, java.util.Map newValues)
Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.