@Test public void testAddAccessCountInfo() throws Exception { AccessCountTableManager manager = initTestEnvironment(); List<FileAccessEvent> accessEvents = new ArrayList<>(); accessEvents.add(new FileAccessEvent("file1", 0)); accessEvents.add(new FileAccessEvent("file2", 1)); accessEvents.add(new FileAccessEvent("file2", 2)); accessEvents.add(new FileAccessEvent("file3", 2)); accessEvents.add(new FileAccessEvent("file3", 3)); accessEvents.add(new FileAccessEvent("file3", 4)); accessEvents.add(new FileAccessEvent("file3", 5000)); manager.onAccessEventsArrived(accessEvents); assertTableEquals(new AccessCountTable(0L, 5000L).getTableName(), "expect1"); }
public void onAccessEventsArrived(List<FileAccessEvent> accessEvents) { this.accessEventAggregator.addAccessEvents(accessEvents); }
AccessCountTableManager { public void onAccessEventsArrived(List<FileAccessEvent> accessEvents) { this.accessEventAggregator.addAccessEvents(accessEvents); } }
AccessCountTableManager { public void onAccessEventsArrived(List<FileAccessEvent> accessEvents) { this.accessEventAggregator.addAccessEvents(accessEvents); } AccessCountTableManager(MetaStore adapter);  AccessCountTableManager(MetaStore adapter, ExecutorService service); }
AccessCountTableManager { public void onAccessEventsArrived(List<FileAccessEvent> accessEvents) { this.accessEventAggregator.addAccessEvents(accessEvents); } AccessCountTableManager(MetaStore adapter);  AccessCountTableManager(MetaStore adapter, ExecutorService service); void addTable(AccessCountTable accessCountTable); void onAccessEventsArrived(List<FileAccessEvent> accessEvents); List<AccessCountTable> getTables(long lengthInMillis); static List<AccessCountTable> getTables(
      Map<TimeGranularity, AccessCountTableDeque> tableDeques,
      MetaStore metaStore,
      long lengthInMillis); }
AccessCountTableManager { public void onAccessEventsArrived(List<FileAccessEvent> accessEvents) { this.accessEventAggregator.addAccessEvents(accessEvents); } AccessCountTableManager(MetaStore adapter);  AccessCountTableManager(MetaStore adapter, ExecutorService service); void addTable(AccessCountTable accessCountTable); void onAccessEventsArrived(List<FileAccessEvent> accessEvents); List<AccessCountTable> getTables(long lengthInMillis); static List<AccessCountTable> getTables(
      Map<TimeGranularity, AccessCountTableDeque> tableDeques,
      MetaStore metaStore,
      long lengthInMillis); static final Logger LOG; }