_log, _state, MIN_STORE_ENCLS2_VERSION, MIN_STORE_LS2_VERSION, MIN_STORE_VERSION| Constructor and Description |
|---|
FloodfillStoreJob(RouterContext context,
FloodfillNetworkDatabaseFacade facade,
Hash key,
DatabaseEntry data,
Job onSuccess,
Job onFailure,
long timeoutMs)
Create a new FloodfillStoreJob to send data to floodfills.
|
FloodfillStoreJob(RouterContext context,
FloodfillNetworkDatabaseFacade facade,
Hash key,
DatabaseEntry data,
Job onSuccess,
Job onFailure,
long timeoutMs,
Set<Hash> toSkip)
Create a new FloodfillStoreJob to send data to floodfills.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Get the name of this job for logging and debugging.
|
protected int |
getParallelization()
Get the maximum number of parallel store operations.
|
protected int |
getRedundancy()
Get the required redundancy level for successful store.
|
protected void |
succeed()
Handle successful completion of the store operation.
|
fail, runJob, shouldStoreEncLS2To, shouldStoreLS2To, shouldStoreTodropped, getContext, getJobId, getMadeReadyOn, getTiming, madeReady, requeue, toStringpublic FloodfillStoreJob(RouterContext context, FloodfillNetworkDatabaseFacade facade, Hash key, DatabaseEntry data, Job onSuccess, Job onFailure, long timeoutMs)
public FloodfillStoreJob(RouterContext context, FloodfillNetworkDatabaseFacade facade, Hash key, DatabaseEntry data, Job onSuccess, Job onFailure, long timeoutMs, Set<Hash> toSkip)
toSkip - set of peer hashes to skip (e.g., already have the data), may be nullpublic String getName()
StoreJobprotected int getParallelization()
StoreJobgetParallelization in class StoreJobprotected int getRedundancy()
StoreJobgetRedundancy in class StoreJob