public class TimeBasedKeysTest extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.modeshape.common.util.TimeBasedKeys |
counter |
| Constructor and Description |
|---|
TimeBasedKeysTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
beforeEach() |
protected void |
print(long value) |
protected void |
print(String str) |
void |
shouldCorrectlyCalculateFirstAndLastCounterFor16Bit() |
void |
shouldCorrectlyCalculateFirstAndLastCounterFor1BitCounter() |
void |
shouldCorrectlyCalculateFirstAndLastCounterFor2Bit() |
void |
shouldCorrectlyCalculateFirstAndLastCounterFor3Bit() |
void |
shouldCorrectlyCalculateFirstAndLastCounterFor4Bit() |
void |
shouldCorrectlyCalculateFirstAndLastCounterFor5Bit() |
void |
shouldCorrectlyCalculateFirstAndLastCounterFor6Bit() |
void |
shouldCorrectlyCalculateFirstAndLastCounterFor7Bit() |
void |
shouldCorrectlyCalculateFirstAndLastCounterFor8Bit() |
void |
shouldObtain10MillionCountersFromThreadSafeUsingMultipleThreads() |
void |
shouldObtain10MillionCountersThreadSafe() |
protected org.modeshape.common.util.TimeBasedKeys counter
public TimeBasedKeysTest()
public void beforeEach()
public void shouldCorrectlyCalculateFirstAndLastCounterFor1BitCounter()
public void shouldCorrectlyCalculateFirstAndLastCounterFor2Bit()
public void shouldCorrectlyCalculateFirstAndLastCounterFor3Bit()
public void shouldCorrectlyCalculateFirstAndLastCounterFor4Bit()
public void shouldCorrectlyCalculateFirstAndLastCounterFor5Bit()
public void shouldCorrectlyCalculateFirstAndLastCounterFor6Bit()
public void shouldCorrectlyCalculateFirstAndLastCounterFor7Bit()
public void shouldCorrectlyCalculateFirstAndLastCounterFor8Bit()
public void shouldCorrectlyCalculateFirstAndLastCounterFor16Bit()
public void shouldObtain10MillionCountersThreadSafe()
public void shouldObtain10MillionCountersFromThreadSafeUsingMultipleThreads()
protected void print(long value)
Copyright © 2008–2021 JBoss, a division of Red Hat. All rights reserved.