Package com.biglybt.core.global.impl
Class GlobalManagerFileMerger
java.lang.Object
com.biglybt.core.global.impl.GlobalManagerFileMerger
- All Implemented Interfaces:
AEDiagnosticsEvidenceGenerator
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static interface
private class
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final Map
<HashWrapper, DownloadManager> (package private) boolean
(package private) boolean
private static final int
private static final int
private final GlobalManagerImpl
private static final int
(package private) boolean
private LoggerChannel
private boolean
(package private) static final Object
(package private) int
private static final String
(package private) final AsyncDispatcher
(package private) final CopyOnWriteList
<GlobalManagerFileMerger.SameSizeFiles> (package private) Set
<DownloadManager> (package private) static boolean
(package private) final AsyncDispatcher
private static final int
private static final int
private TimerEventPeriodic
private static final int
(package private) int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
generate
(IndentWriter writer) protected String
(package private) void
protected boolean
(package private) void
log
(IndentWriter writer, String str) (package private) void
private void
logCurrentState
(IndentWriter write) (package private) void
logSupport
(String str) (package private) void
setLoggingPaused
(boolean b) (package private) void
syncFileSets
(boolean force)
-
Field Details
-
HASH_FAILS_BEFORE_QUIT
private static final int HASH_FAILS_BEFORE_QUIT- See Also:
-
TIMER_PERIOD
private static final int TIMER_PERIOD- See Also:
-
FORCE_PIECE_TIMER_PERIOD
private static final int FORCE_PIECE_TIMER_PERIOD- See Also:
-
FORCE_PIECE_TIMER_TICKS
private static final int FORCE_PIECE_TIMER_TICKS- See Also:
-
SYNC_TIMER_PERIOD
private static final int SYNC_TIMER_PERIOD- See Also:
-
SYNC_TIMER_TICKS
private static final int SYNC_TIMER_TICKS- See Also:
-
ORIGINATOR_PREFIX
- See Also:
-
merged_data_lock
-
switch_to_upload_only_enable
static volatile boolean switch_to_upload_only_enable -
gm
-
log
-
logging_paused
private boolean logging_paused -
initialised
boolean initialised -
enabled
boolean enabled -
enabled_extended
boolean enabled_extended -
tolerance
int tolerance -
min_pieces
int min_pieces -
dm_map
-
sames_cow
-
sames_dms_cow
-
read_write_dispatcher
-
sync_dispatcher
-
timer_event
-
-
Constructor Details
-
GlobalManagerFileMerger
-
-
Method Details
-
initialise
void initialise() -
setLoggingPaused
void setLoggingPaused(boolean b) -
log
-
log
-
logSupport
-
isSwarmMergingZ
-
getSwarmMergingInfo
-
syncFileSets
void syncFileSets(boolean force) -
logCurrentState
-
generate
- Specified by:
generate
in interfaceAEDiagnosticsEvidenceGenerator
-