public interface FlowFileSwapManager
Modifier and Type | Method and Description |
---|---|
void |
purge()
Removes all Swap information, permanently destroying any FlowFiles that
have been swapped out
|
long |
recoverSwappedFlowFiles(QueueProvider connectionProvider,
ResourceClaimManager claimManager)
Notifies FlowFile queues of the number of FlowFiles and content size of
all FlowFiles that are currently swapped out
|
void |
shutdown()
Shuts down the manager
|
void |
start(FlowFileRepository flowFileRepository,
QueueProvider queueProvider,
ResourceClaimManager claimManager,
EventReporter reporter)
Starts the Manager's background threads to start swapping FlowFiles in
and out of memory
|
void start(FlowFileRepository flowFileRepository, QueueProvider queueProvider, ResourceClaimManager claimManager, EventReporter reporter)
flowFileRepository
- the FlowFileRepository that must be notified of
any swapping in or out of FlowFilesqueueProvider
- the provider of FlowFileQueue's so that FlowFiles
can be obtained and restoredclaimManager
- the ContentClaimManager to use for interacting with
Content Claimsreporter
- the EventReporter that can be used for notifying users of
important eventsvoid shutdown()
void purge()
long recoverSwappedFlowFiles(QueueProvider connectionProvider, ResourceClaimManager claimManager)
connectionProvider
- providerclaimManager
- managerCopyright © 2015 Apache NiFi Project. All rights reserved.