blob: 9eaef665c766837161f02cf5ac6c8d24da1e326c [file] [log] [blame]
package org.onlab.onos.store;
import org.onlab.onos.event.Event;
/**
* Abstraction of a entity capable of storing and/or distributing information
* across a cluster.
*/
public interface Store<E extends Event, D extends StoreDelegate<E>> {
/**
* Sets the delegate on the store.
*
* @param delegate new store delegate
*/
void setDelegate(D delegate);
/**
* Get the current store delegate.
*
* @return store delegate
*/
D getDelegate();
}