### Question:
TransactionStore implements ReadWriterStore<Sha3Hash, Transaction> { @Override public void put(Sha3Hash key, Transaction tx) { lock.lock(); try { if (!containsUnlock(key)) { pendingPool.put(key, tx); if (pendingPool.containsKey(key)) { pendingKeys.add(key); } else { log.debug("unconfirmedTxs size={}, ignore key={}", pendingKeys.size(), key); } } } catch (Exception e) { log.warn("put() is failed. {} {}", e.getMessage(), key.toString()); } finally { lock.unlock(); } } TransactionStore(DbSource<byte[], byte[]> db);   TransactionStore(DbSource<byte[], byte[]> db, int cacheSize); Collection<Transaction> getRecentTxs(); @Override boolean contains(Sha3Hash key); @Override void close(); @Override void put(Sha3Hash key, Transaction tx); void addTransaction(Transaction tx); @Override Transaction get(Sha3Hash key); void batch(Set<Sha3Hash> keys); List<Transaction> getUnconfirmedTxsWithLimit(long limit); Collection<Transaction> getUnconfirmedTxs(); int getUnconfirmedTxsSize(); void flush(Set<Sha3Hash> keys); void updateCache(Block block);  }### Answer:
@Test public void TEST() { Cache<String, Integer> pendingPool = CacheManagerBuilder .newCacheManagerBuilder().build(true) .createCache("txPool", CacheConfigurationBuilder .newCacheConfigurationBuilder(String.class, Integer.class, ResourcePoolsBuilder.heap(Long.MAX_VALUE))); Set<String> pendingKeys = new LinkedHashSet<>(); pendingPool.put("1", 1); pendingKeys.add("1"); pendingPool.put("2", 2); pendingKeys.add("2"); pendingPool.put("3", 3); pendingKeys.add("3"); ArrayList<Integer> haha = new ArrayList<>(pendingPool.getAll(pendingKeys).values()); }