|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InhabitantTracker
Tracks an inhabitant, or set of inhabitants.
Habitat#track(InhabitantTrackerContext, Callback)
,
Habitat#trackFuture(InhabitantTrackerContext, Boolean)
Nested Class Summary | |
---|---|
static interface |
InhabitantTracker.Callback
The callback is called when there is an event changing one of the tracked inhabitants. |
Method Summary | ||
---|---|---|
|
getInhabitant()
Returns a single inhabitant. |
|
java.util.Collection<Inhabitant<?>> |
getInhabitants()
Returns the set of inhabitants qualifying. |
|
void |
release()
Releases / closes this tracker. |
Method Detail |
---|
<T> Inhabitant<T> getInhabitant() throws ComponentException
ComponentException
java.util.Collection<Inhabitant<?>> getInhabitants() throws ComponentException
ComponentException
void release()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |