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

com.fasterxml.storemate.backend.leveldb.LevelDBBackendStats Maven / Gradle / Ivy

There is a newer version: 1.1.4
Show newest version
package com.fasterxml.storemate.backend.leveldb;

import java.util.*;

import com.fasterxml.storemate.store.backend.BackendStats;
import com.fasterxml.storemate.store.backend.BackendStatsConfig;

public class LevelDBBackendStats
    extends BackendStats
{
    public Map stats;

    public LevelDBBackendStats() { this(null, 0L, null); }

    public LevelDBBackendStats(BackendStatsConfig config, long creationTime,
            Map src)
    {
        super("leveldb", creationTime, config);
        stats = src;
    }

    @Override
    public Map extraStats(Map base) {
        if (stats != null) {
            base.put("stats", stats);
        }
        return base;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy