mirror of
https://github.com/tonikelope/megabasterd.git
synced 2025-05-23 18:16:18 +02:00
1.26e
This commit is contained in:
parent
d519e15a78
commit
37a12b9db0
@ -54,7 +54,6 @@ import static megabasterd.MiscTools.truncateText;
|
||||
public final class Download implements Transference, Runnable, SecureNotifiable {
|
||||
|
||||
public static final boolean VERIFY_CBC_MAC_DEFAULT=false;
|
||||
public static final boolean USE_SLOTS_DEFAULT = false;
|
||||
public static final Object CBC_LOCK=new Object();
|
||||
|
||||
private final MainPanel _main_panel;
|
||||
|
@ -11,6 +11,7 @@ public interface Transference {
|
||||
int MIN_WORKERS = 2;
|
||||
int MAX_WORKERS = 20;
|
||||
int MAX_SIM_TRANSFERENCES=20;
|
||||
boolean USE_SLOTS_DEFAULT = false;
|
||||
int WORKERS_DEFAULT = 4;
|
||||
int SIM_TRANSFERENCES_DEFAULT=2;
|
||||
boolean LIMIT_TRANSFERENCE_SPEED_DEFAULT=false;
|
||||
|
@ -33,9 +33,7 @@ import static megabasterd.MiscTools.truncateText;
|
||||
* @author tonikelope
|
||||
*/
|
||||
public final class Upload implements Transference, Runnable, SecureNotifiable {
|
||||
|
||||
public static final boolean USE_SLOTS_DEFAULT = true;
|
||||
|
||||
|
||||
private final MainPanel _main_panel;
|
||||
private UploadView _view=null; //lazy init
|
||||
private SpeedMeter _speed_meter=null; //lazy init
|
||||
@ -53,7 +51,7 @@ public final class Upload implements Transference, Runnable, SecureNotifiable {
|
||||
private long _last_chunk_id_dispatched;
|
||||
private final ConcurrentLinkedQueue<Integer> _partialProgressQueue;
|
||||
private final ExecutorService _thread_pool;
|
||||
private volatile int[] _file_meta_mac;
|
||||
private int[] _file_meta_mac;
|
||||
private boolean _finishing_upload;
|
||||
private String _fid;
|
||||
private boolean _notified;
|
||||
@ -154,10 +152,6 @@ public final class Upload implements Transference, Runnable, SecureNotifiable {
|
||||
return _thread_pool;
|
||||
}
|
||||
|
||||
public int[] getFile_meta_mac() {
|
||||
return _file_meta_mac;
|
||||
}
|
||||
|
||||
public String getFid() {
|
||||
return _fid;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user