Expirable
2627282930313233343536
} public void testExpiry() throws InterruptedException { ExpiryMonitor monitor = new ExpiryMonitor("test", 100); Expirable e = new Expirable() { public void expired() { expired = true; }
4243444546474849505152
} public void testNotExpiry() throws InterruptedException { ExpiryMonitor monitor = new ExpiryMonitor("test", 100); Expirable e = new Expirable() { public void expired() { expired = true; }
6061626364656667686970
} public void testExpiryWithReset() throws InterruptedException { ExpiryMonitor monitor = new ExpiryMonitor("test", 100); Expirable e = new Expirable() { public void expired() { expired = true; }
8283848586878889909192
} public void testNotExpiryWithRemove() throws InterruptedException { ExpiryMonitor monitor = new ExpiryMonitor("test", 100); Expirable e = new Expirable() { public void expired() { expired = true; }
@Test public void testExpiry() throws InterruptedException { ExpiryMonitor monitor = new ExpiryMonitor("test", 100, null, false); Expirable e = new Expirable() { public void expired() { expired = true; }
4344454647484950515253
@Test public void testNotExpiry() throws InterruptedException { ExpiryMonitor monitor = new ExpiryMonitor("test", 100, null, false); Expirable e = new Expirable() { public void expired() { expired = true; }
6263646566676869707172
@Test public void testExpiryWithReset() throws InterruptedException { ExpiryMonitor monitor = new ExpiryMonitor("test", 100, null, false); Expirable e = new Expirable() { public void expired() { expired = true; }
8586878889909192939495
@Test public void testNotExpiryWithRemove() throws InterruptedException { ExpiryMonitor monitor = new ExpiryMonitor("test", 100, null, false); Expirable e = new Expirable() { public void expired() { expired = true; }