@Override public void onGetDSLAMPort(DSLAMSource source, String LID) { // Update counters: { invokeAsyncEndCount.incrementAndGet(); invokeAsyncRunningCount.decrementAndGet(); synchronized (invokeEndFrequencyCounter) { invokeEndFrequencyCounter.increment(); } } { // HACK! HACK! HACK! long t1 = System.currentTimeMillis(); long t = t1 - t0; // System.out.println("@@@@@ StatMXManClientListener.onSetAlarmsActive:> "+ // "time="+ // t+ // " ms"); // } l.onGetLID(source, LID); }
@Override public void onGetDSLAMPortFailure(String LID, Throwable ex) { // Update counters: { invokeAsyncEndCount.incrementAndGet(); invokeAsyncRunningCount.decrementAndGet(); invokeAsyncEndFailureCount.incrementAndGet(); synchronized (invokeEndFrequencyCounter) { invokeEndFrequencyCounter.increment(); } } { // HACK! HACK! HACK! long t1 = System.currentTimeMillis(); long t = t1 - t0; /* System.out.println("@@@@@ StatMXManClientListener.onSetAlarmsActiveFailure:> "+ "time="+ t+ " ms"); */ } l.onGetDSLAMPortFailure(LID, ex); }
public StatADManClientListener(ADManClientListener l) { super(); this.l = l; t0 = System.currentTimeMillis(); }