|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.basher.impl.InMemoryEntityRegistry
net.sourceforge.basher.impl.LimitedInMemoryEntityRegistry
public class LimitedInMemoryEntityRegistry
| Constructor Summary | |
|---|---|
LimitedInMemoryEntityRegistry()
|
|
| Method Summary | |
|---|---|
void |
register(java.lang.String entityIdentifier,
java.lang.Object entityID)
Register a certain type as having been created. |
void |
setLimit(int limit)
|
| Methods inherited from class net.sourceforge.basher.impl.InMemoryEntityRegistry |
|---|
getAllRegistered, getNumRegistered, getRandom, getRandomSelection, setLog, setRandomizer, unregister |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LimitedInMemoryEntityRegistry()
| Method Detail |
|---|
public void setLimit(int limit)
public void register(java.lang.String entityIdentifier,
java.lang.Object entityID)
EntityRegistryentityIdentifier is a key into a collection
of entity instances being held by the EntityRegistry.
register in interface EntityRegistryregister in class InMemoryEntityRegistryentityIdentifier - The type of the entity being registeredentityID - The entity being registered
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||