|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jini.mercury.EventLogFactory
class EventLogFactory
This class serves as a factory for generating EventLogIterator objects. The iterator objects are cached so that subsequent calls for the same iterator return the same object.
Nested Class Summary | |
---|---|
private static class |
EventLogFactory.EventLogIteratorImpl
Private class which implements the EventLogIterator interface. |
Field Summary | |
---|---|
private HashMap |
iterators
Map that contains references to generated iterators |
Constructor Summary | |
---|---|
EventLogFactory()
|
Method Summary | |
---|---|
EventLogIterator |
iterator(Uuid uuid)
Method to return the iterator object for the designated Uuid. |
EventLogIterator |
iterator(Uuid uuid,
File logPath)
Method to return the iterator object for the designated Uuid. |
void |
remove(Uuid uuid)
Remove the EventLogIterator associated with the given Uuid. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private HashMap iterators
Constructor Detail |
---|
EventLogFactory()
Method Detail |
---|
public EventLogIterator iterator(Uuid uuid, File logPath)
public EventLogIterator iterator(Uuid uuid)
public void remove(Uuid uuid)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |