mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Rename ownInitTransients() -> initOwnTransients()
This commit is contained in:
@@ -259,10 +259,10 @@ public abstract class VanillaChronicleHash<K, KI, MKI extends MetaBytesInterop<K
|
||||
}
|
||||
|
||||
public void initTransients() {
|
||||
ownInitTransients();
|
||||
initOwnTransients();
|
||||
}
|
||||
|
||||
private void ownInitTransients() {
|
||||
private void initOwnTransients() {
|
||||
keyReaderProvider = Provider.of((Class) originalKeyReader.getClass());
|
||||
keyInteropProvider = Provider.of((Class) originalKeyInterop.getClass());
|
||||
if (segmentHashLookupEntrySize == 4) {
|
||||
@@ -321,7 +321,7 @@ public abstract class VanillaChronicleHash<K, KI, MKI extends MetaBytesInterop<K
|
||||
|
||||
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
|
||||
in.defaultReadObject();
|
||||
ownInitTransients();
|
||||
initOwnTransients();
|
||||
}
|
||||
|
||||
public void onHeaderCreated() {
|
||||
|
||||
@@ -147,10 +147,10 @@ public class ReplicatedChronicleMap<K, KI, MKI extends MetaBytesInterop<K, ? sup
|
||||
@Override
|
||||
public void initTransients() {
|
||||
super.initTransients();
|
||||
ownInitTransients();
|
||||
initOwnTransients();
|
||||
}
|
||||
|
||||
private void ownInitTransients() {
|
||||
private void initOwnTransients() {
|
||||
modificationIterators =
|
||||
new AtomicReferenceArray<>(127 + RESERVED_MOD_ITER);
|
||||
closeables = new CopyOnWriteArraySet<>();
|
||||
@@ -168,7 +168,7 @@ public class ReplicatedChronicleMap<K, KI, MKI extends MetaBytesInterop<K, ? sup
|
||||
|
||||
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
|
||||
in.defaultReadObject();
|
||||
ownInitTransients();
|
||||
initOwnTransients();
|
||||
}
|
||||
|
||||
long modIterBitSetSizeInBytes() {
|
||||
|
||||
@@ -150,10 +150,10 @@ public class VanillaChronicleMap<K, KI, MKI extends MetaBytesInterop<K, ? super
|
||||
@Override
|
||||
public void initTransients() {
|
||||
super.initTransients();
|
||||
ownInitTransients();
|
||||
initOwnTransients();
|
||||
}
|
||||
|
||||
private void ownInitTransients() {
|
||||
private void initOwnTransients() {
|
||||
valueReaderProvider = Provider.of((Class) originalValueReader.getClass());
|
||||
valueInteropProvider = Provider.of((Class) originalValueInterop.getClass());
|
||||
|
||||
@@ -167,7 +167,7 @@ public class VanillaChronicleMap<K, KI, MKI extends MetaBytesInterop<K, ? super
|
||||
|
||||
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
|
||||
in.defaultReadObject();
|
||||
ownInitTransients();
|
||||
initOwnTransients();
|
||||
}
|
||||
|
||||
public final V checkValue(Object value) {
|
||||
|
||||
Reference in New Issue
Block a user