| Package | Description |
|---|---|
| org.apache.nifi.controller.repository | |
| org.apache.nifi.controller.repository.claim |
| Modifier and Type | Method and Description |
|---|---|
List<ResourceClaim> |
SwapSummary.getResourceClaims()
Returns a List of all ResourceClaims that are referenced by the FlowFiles in the swap file.
|
| Modifier and Type | Method and Description |
|---|---|
ResourceClaim |
ContentClaim.getResourceClaim() |
ResourceClaim |
ResourceClaimManager.getResourceClaim(String container,
String section,
String id)
Returns the Resource Claim with the given id, container, and section, if one exists,
null otherwise |
ResourceClaim |
ResourceClaimManager.newResourceClaim(String container,
String section,
String id,
boolean lossTolerant,
boolean writable)
Creates a new Resource Claim with the given id, container, section, and
loss tolerance.
|
| Modifier and Type | Method and Description |
|---|---|
default int |
ResourceClaim.compareTo(ResourceClaim other)
Provides the natural ordering for ResourceClaim objects.
|
int |
ResourceClaimManager.decrementClaimantCount(ResourceClaim claim)
Decreases by 1 the count of how many FlowFiles hold a claim to a
particular piece of FlowFile content and returns the new count
|
void |
ResourceClaimManager.freeze(ResourceClaim claim)
Freezes the Resource Claim so that it can no longer be written to
|
int |
ResourceClaimManager.getClaimantCount(ResourceClaim claim) |
int |
ResourceClaimManager.incrementClaimantCount(ResourceClaim claim)
Increases by 1 the count of how many FlowFiles hold a claim to a
particular piece of FlowFile content and returns the new count
|
int |
ResourceClaimManager.incrementClaimantCount(ResourceClaim claim,
boolean newClaim)
Increases by 1 the count of how many FlowFiles hold a claim to a
particular piece of FlowFile content and returns the new count.
|
void |
ResourceClaimManager.markDestructable(ResourceClaim claim)
Indicates that the given ResourceClaim can now be destroyed by the
appropriate Content Repository.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ResourceClaimManager.drainDestructableClaims(Collection<ResourceClaim> destination,
int maxElements)
Drains up to
maxElements Content Claims from the internal queue
of destructable content claims to the given destination so that
they can be destroyed. |
void |
ResourceClaimManager.drainDestructableClaims(Collection<ResourceClaim> destination,
int maxElements,
long timeout,
TimeUnit unit)
Drains up to
maxElements Content Claims from the internal queue
of destructable content claims to the given destination so that
they can be destroyed. |
Copyright © 2016 Apache NiFi Project. All rights reserved.