Package | Description |
---|---|
bt | |
bt.processor | |
bt.processor.listener | |
bt.processor.magnet | |
bt.processor.torrent | |
bt.torrent |
Modifier and Type | Method and Description |
---|---|
protected <C extends ProcessingContext> |
TorrentClientBuilder.collectStageListeners(ListenerSource<C> listenerSource) |
protected abstract <C extends ProcessingContext> |
BaseClientBuilder.collectStageListeners(ListenerSource<C> listenerSource) |
Modifier and Type | Method and Description |
---|---|
protected ProcessingContext |
TorrentClientBuilder.buildProcessingContext(BtRuntime runtime) |
protected abstract ProcessingContext |
BaseClientBuilder.buildProcessingContext(BtRuntime runtime) |
Modifier and Type | Class and Description |
---|---|
class |
ChainProcessor<C extends ProcessingContext>
Base implementation of a generic asynchronous executor of processing chains.
|
interface |
ContextFinalizer<C extends ProcessingContext>
Used to finalize context and cleanup resources,
when processing completes normally or terminates abruptly due to error
|
interface |
ProcessingStage<C extends ProcessingContext> |
interface |
Processor<C extends ProcessingContext>
Generic asynchronous context processor.
|
class |
RoutingProcessingStage<C extends ProcessingContext>
Base class for chained processing stage implementations.
|
class |
TerminateOnErrorProcessingStage<C extends ProcessingContext>
Base processing stage, that terminates processing chain in case of error.
|
Modifier and Type | Method and Description |
---|---|
<C extends ProcessingContext> |
TorrentProcessorFactory.processor(Class<C> contextType) |
<C extends ProcessingContext> |
ProcessorFactory.processor(Class<C> contextType)
Build a processor for a given context type.
|
Modifier and Type | Class and Description |
---|---|
class |
ListenerSource<C extends ProcessingContext>
Accumulates processing event listeners for a particular type of processing context
|
Modifier and Type | Class and Description |
---|---|
class |
MagnetContext |
Modifier and Type | Class and Description |
---|---|
class |
TorrentContext
Accumulates data, that is specific to standard torrent download/upload.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DefaultTorrentSessionState.updateFileDownloadPriority(ProcessingContext c,
FilePrioritySelector prioritySelector) |
boolean |
TorrentSessionState.updateFileDownloadPriority(ProcessingContext c,
FilePrioritySelector prioritySelector)
Update the priority of downloading specified files
|
Copyright © 2016–2021. All rights reserved.