All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.fasterxml.clustermate.service.Stores Maven / Gradle / Ivy

There is a newer version: 0.10.5
Show newest version
package com.fasterxml.clustermate.service;

import java.io.File;

import com.fasterxml.storemate.store.StorableStore;

import com.fasterxml.clustermate.api.EntryKey;
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 StartAndStoppable
{
    public abstract boolean isActive();

    public abstract String getInitProblem();

    public abstract File getNodeDirectory();

    public abstract StoredEntryConverter getEntryConverter();
    
    public abstract StorableStore getEntryStore();
    public abstract NodeStateStore getNodeStore();
    public abstract LastAccessStore getLastAccessStore();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy