Uses of Interface
org.apache.nifi.controller.repository.claim.ResourceClaim
Packages that use ResourceClaim
Package
Description
-
Uses of ResourceClaim in org.apache.nifi.controller.repository
Methods in org.apache.nifi.controller.repository that return types with arguments of type ResourceClaimModifier and TypeMethodDescriptiondefault Set<ResourceClaim> FlowFileRepository.findOrphanedResourceClaims()Returns the set of Resource Claims that are referenced by FlowFiles that have been "orphaned" because they belong to FlowFile Queues/Connections that did not exist in the flow when NiFi starteddefault Map<ResourceClaim, Set<ResourceClaimReference>> FlowFileRepository.findResourceClaimReferences(Set<ResourceClaim> resourceClaims, FlowFileSwapManager swapManager) Scans the FlowFile Repository to locate any FlowFiles that reference the given Resource Claims.default Set<ResourceClaim> ContentRepository.getActiveResourceClaims(String containerName) Optional operation that returns a List of all Resource Claims that exist in the given Container that are considered "active" (i.e., not archived)SwapSummary.getResourceClaims()Returns a List of all ResourceClaims that are referenced by the FlowFiles in the swap file.Methods in org.apache.nifi.controller.repository with parameters of type ResourceClaimModifier and TypeMethodDescriptionContentRepository.read(ResourceClaim claim) Provides access ot the input stream for the entire Resource ClaimlongContentRepository.size(ResourceClaim claim) Method parameters in org.apache.nifi.controller.repository with type arguments of type ResourceClaimModifier and TypeMethodDescriptiondefault Map<ResourceClaim, Set<ResourceClaimReference>> FlowFileRepository.findResourceClaimReferences(Set<ResourceClaim> resourceClaims, FlowFileSwapManager swapManager) Scans the FlowFile Repository to locate any FlowFiles that reference the given Resource Claims. -
Uses of ResourceClaim in org.apache.nifi.controller.repository.claim
Methods in org.apache.nifi.controller.repository.claim that return ResourceClaimModifier and TypeMethodDescriptionContentClaim.getResourceClaim()ResourceClaimManager.getResourceClaim(String container, String section, String id) Returns the Resource Claim with the given id, container, and section, if one exists,nullotherwiseResourceClaimManager.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.Methods in org.apache.nifi.controller.repository.claim with parameters of type ResourceClaimModifier and TypeMethodDescriptiondefault intResourceClaim.compareTo(ResourceClaim other) Provides the natural ordering for ResourceClaim objects.intResourceClaimManager.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 countvoidResourceClaimManager.freeze(ResourceClaim claim) Freezes the Resource Claim so that it can no longer be written tointResourceClaimManager.getClaimantCount(ResourceClaim claim) intResourceClaimManager.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 countintResourceClaimManager.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.booleanResourceClaimManager.isDestructable(ResourceClaim claim) Indicates whether or not the given Resource Claim is awaiting destructionvoidResourceClaimManager.markDestructable(ResourceClaim claim) Indicates that the given ResourceClaim can now be destroyed by the appropriate Content Repository.Method parameters in org.apache.nifi.controller.repository.claim with type arguments of type ResourceClaimModifier and TypeMethodDescriptionvoidResourceClaimManager.drainDestructableClaims(Collection<ResourceClaim> destination, int maxElements) Drains up tomaxElementsContent Claims from the internal queue of destructable content claims to the givendestinationso that they can be destroyed.voidResourceClaimManager.drainDestructableClaims(Collection<ResourceClaim> destination, int maxElements, long timeout, TimeUnit unit) Drains up tomaxElementsContent Claims from the internal queue of destructable content claims to the givendestinationso that they can be destroyed. -
Uses of ResourceClaim in org.apache.nifi.diagnostics
Fields in org.apache.nifi.diagnostics with type parameters of type ResourceClaimModifier and TypeFieldDescriptionprivate Map<ResourceClaim, Integer> SystemDiagnostics.claimantCountsprivate Set<ResourceClaim> SystemDiagnostics.destructableClaimsMethods in org.apache.nifi.diagnostics that return types with arguments of type ResourceClaimModifier and TypeMethodDescriptionSystemDiagnostics.getClaimantCounts()SystemDiagnostics.getDestructableClaims()Method parameters in org.apache.nifi.diagnostics with type arguments of type ResourceClaimModifier and TypeMethodDescriptionvoidSystemDiagnostics.setClaimantCounts(Map<ResourceClaim, Integer> claimantCounts) voidSystemDiagnostics.setDestructableClaims(Set<ResourceClaim> destructableClaims)