Search in sources :

Example 1 with StreamListener

use of com.ramussoft.common.event.StreamListener in project ramus by Vitaliy-Yakovchuk.

the class JournaledEngine method deleteStream.

@Override
public boolean deleteStream(String path) {
    boolean deleteStream = deligate.deleteStream(path);
    StreamEvent event = new StreamEvent(this, path, null, false);
    for (StreamListener listener : getStreamListeners()) listener.streamDeleted(event);
    return deleteStream;
}
Also used : StreamEvent(com.ramussoft.common.event.StreamEvent) StreamListener(com.ramussoft.common.event.StreamListener)

Aggregations

StreamEvent (com.ramussoft.common.event.StreamEvent)1 StreamListener (com.ramussoft.common.event.StreamListener)1