com.fasterxml.clustermate.service.Stores Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of clustermate-service Show documentation
Show all versions of clustermate-service Show documentation
Building blocks for ClusterMate-based services and servers.
package com.fasterxml.clustermate.service;
import com.fasterxml.storemate.shared.IpAndPort;
import com.fasterxml.storemate.store.StorableStore;
import com.fasterxml.storemate.store.lastaccess.LastAccessStore;
import com.fasterxml.storemate.store.lastaccess.LastAccessUpdateMethod;
import com.fasterxml.storemate.store.state.NodeStateStore;
import com.fasterxml.clustermate.api.EntryKey;
import com.fasterxml.clustermate.service.state.ActiveNodeState;
import com.fasterxml.clustermate.service.store.StoredEntry;
import com.fasterxml.clustermate.service.store.StoredEntryConverter;
/**
* Basic abstraction used for handling references to core stores
* that a clustered service needs.
*/
public abstract class Stores>
implements com.fasterxml.storemate.shared.StartAndStoppable
{
public abstract boolean isActive();
public abstract String getInitProblem();
public abstract StoredEntryConverter getEntryConverter();
public abstract StorableStore getEntryStore();
public abstract NodeStateStore getNodeStore();
public abstract LastAccessStore getLastAccessStore();
}