@Test public void testAgeLsp() throws Exception { defaultIsisLsdbAge.age2Bin(1); defaultIsisLsdbAge.startDbAging(); defaultIsisLsdbAge.ageLsp(); assertThat(defaultIsisLsdbAge, is(notNullValue())); }
public void ageLsp() { refreshLsa(); maxAgeLsa(); if (ageCounter == IsisConstants.LSPMAXAGE) { ageCounter = 0; ageCounterRollOver++; } else { ageCounter++; } }
DefaultIsisLsdbAge implements IsisLsdbAge { public void ageLsp() { refreshLsa(); maxAgeLsa(); if (ageCounter == IsisConstants.LSPMAXAGE) { ageCounter = 0; ageCounterRollOver++; } else { ageCounter++; } } }
DefaultIsisLsdbAge implements IsisLsdbAge { public void ageLsp() { refreshLsa(); maxAgeLsa(); if (ageCounter == IsisConstants.LSPMAXAGE) { ageCounter = 0; ageCounterRollOver++; } else { ageCounter++; } } DefaultIsisLsdbAge(); }
DefaultIsisLsdbAge implements IsisLsdbAge { public void ageLsp() { refreshLsa(); maxAgeLsa(); if (ageCounter == IsisConstants.LSPMAXAGE) { ageCounter = 0; ageCounterRollOver++; } else { ageCounter++; } } DefaultIsisLsdbAge(); int ageCounter(); int ageCounterRollOver(); void addLspBin(int binNumber, IsisLspBin lspBin); IsisLspBin getLspBin(int binKey); void removeLspFromBin(LspWrapper lspWrapper); int age2Bin(int age); void startDbAging(); void ageLsp(); void maxAgeLsa(); void refreshLsa(); }
DefaultIsisLsdbAge implements IsisLsdbAge { public void ageLsp() { refreshLsa(); maxAgeLsa(); if (ageCounter == IsisConstants.LSPMAXAGE) { ageCounter = 0; ageCounterRollOver++; } else { ageCounter++; } } DefaultIsisLsdbAge(); int ageCounter(); int ageCounterRollOver(); void addLspBin(int binNumber, IsisLspBin lspBin); IsisLspBin getLspBin(int binKey); void removeLspFromBin(LspWrapper lspWrapper); int age2Bin(int age); void startDbAging(); void ageLsp(); void maxAgeLsa(); void refreshLsa();  }