@ProviderType
public interface WireRecordStoreProvider
WireRecordStore instances.| Modifier and Type | Method and Description |
|---|---|
void |
addListener(ConnectionListener listener)
Adds a
ConnectionListener. |
WireRecordStore |
openWireRecordStore(java.lang.String name)
Opens or creates a
WireRecordStore instance with the given name. |
void |
removeListener(ConnectionListener listener)
Removes a
ConnectionListener |
WireRecordStore openWireRecordStore(java.lang.String name) throws KuraStoreException
WireRecordStore instance with the given name. Invoking
this method could allocate the resources required to support the returned WireRecordStore instance (for
example tables in a RDBMS).*name - the store nameWireRecordStore.KuraStoreExceptionvoid addListener(ConnectionListener listener)
ConnectionListener. A typical behavior of a client of this listener is to close the currently
open
WireRecordStore instances when a ConnectionListener.disconnected() event is received.listener - to addvoid removeListener(ConnectionListener listener)
ConnectionListenerlistener - to remove