| Package | Description |
|---|---|
| org.apache.calcite.util |
Provides utility classes.
|
| Modifier and Type | Interface and 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.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CompoundClosableAllocation
CompoundClosableAllocation represents a collection of ClosableAllocations
which share a common lifecycle.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<ClosableAllocation> |
CompoundClosableAllocation.allocations
List of owned ClosableAllocation objects.
|
| Modifier and Type | Method and 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.
|
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.