Class UpdateCoalescer
java.lang.Object
io.deephaven.engine.table.impl.util.UpdateCoalescer
- All Implemented Interfaces:
SafeCloseable,AutoCloseable
Helper utility for coalescing multiple
updates.
Owns every RowSet it allocates, so it must be closed. Calling
coalesce() hands added, removed and modified to the update it returns, which the
caller must then release; whatever is left belongs to this object and close() frees it. A coalescer that is
closed without being coalesced therefore releases everything, which is what makes it safe to abandon one.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()coalesce()The updates seen so far as one.update(TableUpdate update)
-
Field Details
-
added
-
removed
-
modified
-
shifted
-
modifiedColumnSet
-
-
Constructor Details
-
UpdateCoalescer
-
-
Method Details
-
coalesce
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceSafeCloseable
-
update
-