mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Standard code formatting
This commit is contained in:
@@ -237,26 +237,30 @@ public class CHMTest5 {
|
||||
|
||||
@Group(0)
|
||||
long getEntryLockState();
|
||||
|
||||
void setEntryLockState(long entryLockState);
|
||||
|
||||
@Group(1)
|
||||
int getMaxNumberOfProcessesAllowed();
|
||||
|
||||
void setMaxNumberOfProcessesAllowed(int max);
|
||||
|
||||
boolean compareAndSwapMaxNumberOfProcessesAllowed(int expected, int value);
|
||||
|
||||
@Group(1)
|
||||
@Array(length = 4)
|
||||
void setTimeAt(int index, long time);
|
||||
|
||||
long getTimeAt(int index);
|
||||
|
||||
@Deprecated()
|
||||
default boolean tryLockNanosEntry(long nanos) {
|
||||
return AcquisitionStrategies
|
||||
.<ReadWriteLockingStrategy>spinLoop(nanos, TimeUnit.NANOSECONDS).acquire(
|
||||
TryAcquireOperations.writeLock(),
|
||||
VanillaReadWriteWithWaitsLockingStrategy.instance(),
|
||||
checkedBytesStoreAccess(), ((Byteable) this).bytesStore(),
|
||||
((Byteable) this).offset());
|
||||
TryAcquireOperations.writeLock(),
|
||||
VanillaReadWriteWithWaitsLockingStrategy.instance(),
|
||||
checkedBytesStoreAccess(), ((Byteable) this).bytesStore(),
|
||||
((Byteable) this).offset());
|
||||
}
|
||||
|
||||
@Deprecated()
|
||||
|
||||
Reference in New Issue
Block a user