Contents
Class AbstractMetaStore<K>
java.lang.Object
com.hypixel.hytale.server.core.meta.AbstractMetaStore<K>
- All Implemented Interfaces:
IMetaStore<K>, IMetaStoreImpl<K>
- Direct Known Subclasses:
ArrayMetaStore, DynamicMetaStore
-
Nested Class Summary
Nested classes/interfaces inherited from interface IMetaStore
IMetaStore.MetaEntryConsumer -
Constructor Summary
ConstructorsConstructorDescriptionAbstractMetaStore(K parent, IMetaRegistry<K> registry, boolean bypassEncodedCache) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanvoidorg.bson.BsonDocumentvoidforEachUnknownEntry(BiConsumer<String, org.bson.BsonValue> consumer) Returns the meta store object.final voidMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IMetaStore
forEachMetaObject, getIfPresentMetaObject, getMetaObject, hasMetaObject, putMetaObject, removeMetaObject, removeSerializedMetaObject
-
Constructor Details
-
AbstractMetaStore
-
-
Method Details
-
getMetaStore
Description copied from interface:IMetaStoreReturns the meta store object.- Specified by:
getMetaStorein interfaceIMetaStore<K>- Returns:
- MetaStore object
-
getRegistry
- Specified by:
getRegistryin interfaceIMetaStoreImpl<K>
-
forEachUnknownEntry
- Specified by:
forEachUnknownEntryin interfaceIMetaStoreImpl<K>
-
markMetaStoreDirty
public final void markMetaStoreDirty()- Specified by:
markMetaStoreDirtyin interfaceIMetaStore<K>
-
consumeMetaStoreDirty
public final boolean consumeMetaStoreDirty()- Specified by:
consumeMetaStoreDirtyin interfaceIMetaStore<K>
-
encode
- Specified by:
encodein interfaceIMetaStoreImpl<K>
-
decode
- Specified by:
decodein interfaceIMetaStoreImpl<K>
-