public class BasicBuffer extends Object implements IBuffer, InternalBufferTypes
InternalBufferTypes.Entry, InternalBufferTypes.TypeEntryBufferTypes.IEntry, BufferTypes.LoadState| Constructor and Description |
|---|
BasicBuffer() |
public void setupChainManager(net.runeduniverse.lib.utils.chain.ChainManager chainManager)
throws Exception
setupChainManager in interface ChainConfiguratorExceptionpublic <T> T getById(Serializable id, Class<T> type)
IBufferpublic <T> T getByEntityId(Serializable entityId, Class<T> type)
IBuffergetByEntityId in interface IBufferT - Object of typeentityId - Serializabletype - of ClassObject of the requested classpublic <T> T getCompleteByEntityId(Serializable entityId, Class<T> type)
getCompleteByEntityId in interface IBufferpublic void addEntry(BufferTypes.IEntry iEntry)
public void addEntry(Serializable id, Serializable entityId, Object entity, BufferTypes.LoadState loadState, IBaseQueryPattern<?> pattern)
public void updateEntry(Archive archive, UpdatedEntryContainer container)
updateEntry in interface IBuffer@Deprecated public void updateEntry(InternalBufferTypes.Entry entry, Serializable id, Serializable entityId)
public void removeEntry(BufferTypes.IEntry iEntry)
removeEntry in interface IBufferpublic void removeEntry(Object entity)
removeEntry in interface IBufferpublic Collection<BufferTypes.IEntry> getAllEntries()
getAllEntries in interface IBuffer@Deprecated public InternalBufferTypes.TypeEntry getTypeEntry(Class<?> type)
public InternalBufferTypes.Entry getEntry(Object entity)
public void eraseRelations(Serializable deletedId, Serializable relationId, Serializable nodeId)
eraseRelations in interface IBufferCopyright © 2020–2022 RunedUniverse. All rights reserved.