@Test public void testAddTsdrCacheEntry() { TSDRCacheEntry entry = keyCache.addTSDRCacheEntry(TSDR_TEST_KEY); Assert.assertEquals("openflow:1", entry.getNodeID()); Assert.assertEquals(DataCategory.EXTERNAL, entry.getDataCategory()); Assert.assertEquals("Memory", entry.getMetricName()); Assert.assertEquals("world", entry.getRecordKeys().get(0).getKeyValue()); }
public final TSDRCacheEntry addTSDRCacheEntry(final String tsdrKey) { return addTSDRCacheEntry(tsdrKey,true); }
TSDRKeyCache { public final TSDRCacheEntry addTSDRCacheEntry(final String tsdrKey) { return addTSDRCacheEntry(tsdrKey,true); } }
TSDRKeyCache { public final TSDRCacheEntry addTSDRCacheEntry(final String tsdrKey) { return addTSDRCacheEntry(tsdrKey,true); } TSDRKeyCache(); }
TSDRKeyCache { public final TSDRCacheEntry addTSDRCacheEntry(final String tsdrKey) { return addTSDRCacheEntry(tsdrKey,true); } TSDRKeyCache(); final TSDRCacheEntry getCacheEntry(final String tsdrKey); final TSDRCacheEntry getCacheEntry(final MD5ID md5ID); final TSDRCacheEntry addTSDRCacheEntry(final String tsdrKey); @SuppressWarnings("checkstyle:IllegalCatch") List<TSDRMetricRecord> getTSDRMetricRecords(String tsdrMetricKey, long startDateTime, long endDateTime,
            int recordLimit, TSDRMetricCollectJob job); @SuppressWarnings("checkstyle:IllegalCatch") List<TSDRLogRecord> getTSDRLogRecords(String tsdrLogKey, long startDateTime, long endDateTime,
            int recordLimit, TSDRLogCollectJob job); @SuppressWarnings("checkstyle:IllegalCatch") List<TSDRBinaryRecord> getTSDRBinaryRecords(String tsdrBinaryKey, long startDateTime, long endDateTime,
            int recordLimit, TSDRBinaryCollectJob job); Collection<TSDRCacheEntry> getAll(); void shutdown(); }
TSDRKeyCache { public final TSDRCacheEntry addTSDRCacheEntry(final String tsdrKey) { return addTSDRCacheEntry(tsdrKey,true); } TSDRKeyCache(); final TSDRCacheEntry getCacheEntry(final String tsdrKey); final TSDRCacheEntry getCacheEntry(final MD5ID md5ID); final TSDRCacheEntry addTSDRCacheEntry(final String tsdrKey); @SuppressWarnings("checkstyle:IllegalCatch") List<TSDRMetricRecord> getTSDRMetricRecords(String tsdrMetricKey, long startDateTime, long endDateTime,
            int recordLimit, TSDRMetricCollectJob job); @SuppressWarnings("checkstyle:IllegalCatch") List<TSDRLogRecord> getTSDRLogRecords(String tsdrLogKey, long startDateTime, long endDateTime,
            int recordLimit, TSDRLogCollectJob job); @SuppressWarnings("checkstyle:IllegalCatch") List<TSDRBinaryRecord> getTSDRBinaryRecords(String tsdrBinaryKey, long startDateTime, long endDateTime,
            int recordLimit, TSDRBinaryCollectJob job); Collection<TSDRCacheEntry> getAll(); void shutdown(); static final String TSDR_KEY_CACHE_FILENAME; }