@Test public void testGet() throws Exception { }
public IOEntrySerializable get(String id, long requestId, long rowNum) throws IOException { IOEntryCacheKey key = new IOEntryCacheKey(id, requestId, rowNum); Element el = cache.get(key); String value = (String) el.getValue(); return mapper.readValue(value, IOEntrySerializable.class); }
IOEntryCacheManager { public IOEntrySerializable get(String id, long requestId, long rowNum) throws IOException { IOEntryCacheKey key = new IOEntryCacheKey(id, requestId, rowNum); Element el = cache.get(key); String value = (String) el.getValue(); return mapper.readValue(value, IOEntrySerializable.class); } }
IOEntryCacheManager { public IOEntrySerializable get(String id, long requestId, long rowNum) throws IOException { IOEntryCacheKey key = new IOEntryCacheKey(id, requestId, rowNum); Element el = cache.get(key); String value = (String) el.getValue(); return mapper.readValue(value, IOEntrySerializable.class); } private  IOEntryCacheManager(); }
IOEntryCacheManager { public IOEntrySerializable get(String id, long requestId, long rowNum) throws IOException { IOEntryCacheKey key = new IOEntryCacheKey(id, requestId, rowNum); Element el = cache.get(key); String value = (String) el.getValue(); return mapper.readValue(value, IOEntrySerializable.class); } private  IOEntryCacheManager(); void add(String id, long requestId, IOEntrySerializable entry); IOEntrySerializable get(String id, long requestId, long rowNum); }
IOEntryCacheManager { public IOEntrySerializable get(String id, long requestId, long rowNum) throws IOException { IOEntryCacheKey key = new IOEntryCacheKey(id, requestId, rowNum); Element el = cache.get(key); String value = (String) el.getValue(); return mapper.readValue(value, IOEntrySerializable.class); } private  IOEntryCacheManager(); void add(String id, long requestId, IOEntrySerializable entry); IOEntrySerializable get(String id, long requestId, long rowNum); static final IOEntryCacheManager INSTANCE; }