Search in sources :

Example 1 with RocksDbKeyValueStorage

use of org.apache.ignite.internal.metastorage.server.persistence.RocksDbKeyValueStorage in project ignite-3 by apache.

the class ItMetaStorageServicePersistenceTest method createListener.

/**
 * {@inheritDoc}
 */
@Override
public RaftGroupListener createListener(ClusterService service, Path listenerPersistencePath) {
    storage = new RocksDbKeyValueStorage(listenerPersistencePath);
    storage.start();
    return new MetaStorageListener(storage);
}
Also used : RocksDbKeyValueStorage(org.apache.ignite.internal.metastorage.server.persistence.RocksDbKeyValueStorage) MetaStorageListener(org.apache.ignite.internal.metastorage.server.raft.MetaStorageListener)

Aggregations

RocksDbKeyValueStorage (org.apache.ignite.internal.metastorage.server.persistence.RocksDbKeyValueStorage)1 MetaStorageListener (org.apache.ignite.internal.metastorage.server.raft.MetaStorageListener)1