@Test public void testGetIntentCount() { assertThat(intentStore.getIntentCount(), is(0L)); generateIntentList(5).forEach(intentStore::write); assertThat(intentStore.getIntentCount(), is(5L)); }
@Override public long getIntentCount() { return currentMap.size(); }
GossipIntentStore extends AbstractStore<IntentEvent, IntentStoreDelegate> implements IntentStore { @Override public long getIntentCount() { return currentMap.size(); } }
GossipIntentStore extends AbstractStore<IntentEvent, IntentStoreDelegate> implements IntentStore { @Override public long getIntentCount() { return currentMap.size(); }  }
GossipIntentStore extends AbstractStore<IntentEvent, IntentStoreDelegate> implements IntentStore { @Override public long getIntentCount() { return currentMap.size(); }  @Activate void activate(); @Deactivate void deactivate(); @Override long getIntentCount(); @Override Iterable<Intent> getIntents(); @Override Iterable<IntentData> getIntentData(boolean localOnly, long olderThan); @Override IntentState getIntentState(Key intentKey); @Override List<Intent> getInstallableIntents(Key intentKey); @Override void write(IntentData newData); @Override void batchWrite(Iterable<IntentData> updates); @Override Intent getIntent(Key key); @Override IntentData getIntentData(Key key); @Override void addPending(IntentData data); @Override boolean isMaster(Key intentKey); @Override Iterable<Intent> getPending(); @Override Iterable<IntentData> getPendingData(); @Override Iterable<IntentData> getPendingData(boolean localOnly, long olderThan); }
GossipIntentStore extends AbstractStore<IntentEvent, IntentStoreDelegate> implements IntentStore { @Override public long getIntentCount() { return currentMap.size(); }  @Activate void activate(); @Deactivate void deactivate(); @Override long getIntentCount(); @Override Iterable<Intent> getIntents(); @Override Iterable<IntentData> getIntentData(boolean localOnly, long olderThan); @Override IntentState getIntentState(Key intentKey); @Override List<Intent> getInstallableIntents(Key intentKey); @Override void write(IntentData newData); @Override void batchWrite(Iterable<IntentData> updates); @Override Intent getIntent(Key key); @Override IntentData getIntentData(Key key); @Override void addPending(IntentData data); @Override boolean isMaster(Key intentKey); @Override Iterable<Intent> getPending(); @Override Iterable<IntentData> getPendingData(); @Override Iterable<IntentData> getPendingData(boolean localOnly, long olderThan);  }