@Test public void timeReadLockSpentLockedIsRecorded() { Ticker ticker = createMock(Ticker.class); ProfiledLock testSubject = new ProfiledReentrantReadWriteLock(new ReentrantReadWriteLock(), ticker, LABEL).readLock(); timeSpentLockedIsRecorded(ticker, testSubject); }
@Override public ProfiledLock readLock() { return readLock; }
ProfiledReentrantReadWriteLock implements ReadWriteLock { @Override public ProfiledLock readLock() { return readLock; } }
ProfiledReentrantReadWriteLock implements ReadWriteLock { @Override public ProfiledLock readLock() { return readLock; } ProfiledReentrantReadWriteLock(ReentrantReadWriteLock delegate, Ticker ticker, String label); }
ProfiledReentrantReadWriteLock implements ReadWriteLock { @Override public ProfiledLock readLock() { return readLock; } ProfiledReentrantReadWriteLock(ReentrantReadWriteLock delegate, Ticker ticker, String label); @Override ProfiledLock readLock(); @Override ProfiledLock writeLock(); }
ProfiledReentrantReadWriteLock implements ReadWriteLock { @Override public ProfiledLock readLock() { return readLock; } ProfiledReentrantReadWriteLock(ReentrantReadWriteLock delegate, Ticker ticker, String label); @Override ProfiledLock readLock(); @Override ProfiledLock writeLock();  }