Uses of Class
io.keikai.doc.collab.utils.StructStore
-
Packages that use StructStore Package Description io.keikai.doc.collab.structs io.keikai.doc.collab.utils -
-
Uses of StructStore in io.keikai.doc.collab.structs
Methods in io.keikai.doc.collab.structs with parameters of type StructStore Modifier and Type Method Description static ItemResultItem. followRedone(StructStore store, ID id)Follows the redone chain to find the final item.voidAbstractContent. gc(StructStore store)Performs garbage collection on this content.voidContentAny. gc(StructStore store)voidContentBinary. gc(StructStore store)voidContentDeleted. gc(StructStore store)voidContentDoc. gc(StructStore store)voidContentEmbed. gc(StructStore store)voidContentFormat. gc(StructStore store)voidContentJSON. gc(StructStore store)voidContentString. gc(StructStore store)voidContentType. gc(StructStore store)voidItem. gc(StructStore store, boolean parentGCd)java.lang.IntegerGC. getMissing(Transaction transaction, StructStore store)Since GC structs are always considered deleted, they don't have missing parts.java.lang.IntegerItem. getMissing(Transaction transaction, StructStore store)Returns the client ID of the missing operation or defines missing items and returns null.java.lang.IntegerSkip. getMissing(Transaction transaction, StructStore store)Since Skip structs are always considered deleted, they don't have missing parts. -
Uses of StructStore in io.keikai.doc.collab.utils
Methods in io.keikai.doc.collab.utils that return StructStore Modifier and Type Method Description StructStoreDoc. getStore()Methods in io.keikai.doc.collab.utils with parameters of type StructStore Modifier and Type Method Description static voidStructStore. addStruct(StructStore store, AbstractStruct struct)static DeleteSetDeleteSet. createDeleteSetFromStructStore(StructStore ss)static AbstractStructStructStore. find(StructStore store, ID id)Expects that id is actually in store.static AbstractStructStructStore. getItem(StructStore store, ID id)Expects that id is actually in store.static AbstractStructStructStore. getItemCleanEnd(Transaction transaction, StructStore store, ID id)Expects that id is actually in store.static intStructStore. getState(StructStore store, int client)static java.util.Map<java.lang.Integer,java.lang.Integer>StructStore. getStateVector(StructStore store)Return the states as aMap<client,clock>.static voidStructStore. integrityCheck(StructStore store)static Uint8ArrayDeleteSet. readAndApplyDeleteSet(DSDecoder decoder, Transaction transaction, StructStore store)static voidStructStore. replaceStruct(StructStore store, AbstractStruct struct, AbstractStruct newStruct)Replace `item` with `newitem` in storestatic voidTransaction. tryGc(DeleteSet ds, StructStore store, java.util.function.Function<Item,java.lang.Boolean> gcFilter)Attempts to garbage collect the delete set.static voidEncodings. writeClientsStructs(UpdateEncoder encoder, StructStore store, java.util.Map<java.lang.Integer,java.lang.Integer> stateMap)Write client structs to the encoder.
-