@Test
    public void fetchTop() throws FailStoreException {
        List<Pair<String, Job>> pairs = failStore.fetchTop(5, Job.class);
        if (CollectionUtils.isNotEmpty(pairs)) {
            for (Pair<String, Job> pair : pairs) {
                System.out.println(JSON.toJSONString(pair));
            }
        }
    }
@author Robert HG (254963746@qq.com) on 11/10/15.
lts-core/src/test/java/com/github/ltsopensource/core/failstore/mapdb/MapdbFailStoreTest.java