Package com.biglybt.core.networkmanager
Interface ControllerAllocationManagement
- All Known Subinterfaces:
NetworkConnection,NetworkConnectionBase,RateControlledEntity
- All Known Implementing Classes:
MultiPeerDownloader2,MultiPeerUploader,NetworkConnectionHelper,NetworkConnectionImpl,PeerForeignNetworkConnection,RateControlledMultipleEntity,RateControlledSingleEntity,SinglePeerDownloader,SinglePeerUploader
public interface ControllerAllocationManagement
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidactiveReadControllerRelease(boolean added) voidactiveWriteControllerRelease(boolean added) booleanisReadControllerActive(int partition) booleanisWriteControllerActive(int partition) voidvoidsetTargetReadControllerPartition(int partition) voidsetTargetWriteControllerPartition(int partition) void
-
Field Details
-
UNALLOCATED_PARTITION
static final int UNALLOCATED_PARTITION- See Also:
-
-
Method Details
-
isReadControllerActive
boolean isReadControllerActive(int partition) -
setReadControllerInactive
void setReadControllerInactive() -
setTargetReadControllerPartition
void setTargetReadControllerPartition(int partition) -
activeReadControllerRelease
void activeReadControllerRelease(boolean added) -
isWriteControllerActive
boolean isWriteControllerActive(int partition) -
setWriteControllerInactive
void setWriteControllerInactive() -
setTargetWriteControllerPartition
void setTargetWriteControllerPartition(int partition) -
activeWriteControllerRelease
void activeWriteControllerRelease(boolean added)
-