Uses of Interface
org.apache.calcite.util.ClosableAllocation
-
Packages that use ClosableAllocation Package Description org.apache.calcite.util Provides utility classes. -
-
Uses of ClosableAllocation in org.apache.calcite.util
Subinterfaces of ClosableAllocation in org.apache.calcite.util Modifier and Type Interface Description interface
ClosableAllocationOwner
ClosableAllocationOwner represents an object which can take ownership of ClosableAllocations and guarantee that they will be cleaned up correctly when its own closeAllocation() is called.Classes in org.apache.calcite.util that implement ClosableAllocation Modifier and Type Class Description class
CompoundClosableAllocation
CompoundClosableAllocation represents a collection of ClosableAllocations which share a common lifecycle.Fields in org.apache.calcite.util with type parameters of type ClosableAllocation Modifier and Type Field Description protected java.util.List<ClosableAllocation>
CompoundClosableAllocation. allocations
List of owned ClosableAllocation objects.Methods in org.apache.calcite.util with parameters of type ClosableAllocation Modifier and Type Method Description void
ClosableAllocationOwner. addAllocation(ClosableAllocation allocation)
Assigns ownership of a ClosableAllocation to this owner.void
CompoundClosableAllocation. addAllocation(ClosableAllocation allocation)
boolean
CompoundClosableAllocation. forgetAllocation(ClosableAllocation allocation)
Forgets an allocation without closing it.
-