Package io.jsondb.events
Class EventListenerList
- java.lang.Object
-
- io.jsondb.events.EventListenerList
-
public class EventListenerList extends java.lang.ObjectA class that holds a list of CollectionFileChangeListeners.
-
-
Constructor Summary
Constructors Constructor Description EventListenerList(JsonDBConfig dbConfig, java.util.Map<java.lang.String,CollectionMetaData> cmdMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCollectionFileChangeListener(CollectionFileChangeListener listener)booleanhasCollectionFileChangeListener()voidremoveCollectionFileChangeListener(CollectionFileChangeListener listener)voidshutdown()
-
-
-
Constructor Detail
-
EventListenerList
public EventListenerList(JsonDBConfig dbConfig, java.util.Map<java.lang.String,CollectionMetaData> cmdMap)
-
-
Method Detail
-
addCollectionFileChangeListener
public void addCollectionFileChangeListener(CollectionFileChangeListener listener)
-
removeCollectionFileChangeListener
public void removeCollectionFileChangeListener(CollectionFileChangeListener listener)
-
hasCollectionFileChangeListener
public boolean hasCollectionFileChangeListener()
-
shutdown
public void shutdown()
-
-