public class OutOfCoreIOCallable extends Object implements Callable<Void>, ResetSuperstepMetricsObserver
Modifier and Type | Field and Description |
---|---|
static String |
BYTES_LOAD_FROM_DISK
Name of Metric for number of bytes read from disk
|
static String |
BYTES_STORE_TO_DISK
Name of Metric for number of bytes written to disk
|
static String |
HISTOGRAM_LOAD_SIZE
Name of Metric for size of loads
|
static String |
HISTOGRAM_STORE_SIZE
Name of Metric for size of stores
|
Constructor and Description |
---|
OutOfCoreIOCallable(OutOfCoreEngine oocEngine,
int diskId)
Constructor
|
Modifier and Type | Method and Description |
---|---|
Void |
call() |
void |
newSuperstep(SuperstepMetricsRegistry superstepMetrics)
Starting a new superstep.
|
public static final String BYTES_LOAD_FROM_DISK
public static final String BYTES_STORE_TO_DISK
public static final String HISTOGRAM_LOAD_SIZE
public static final String HISTOGRAM_STORE_SIZE
public OutOfCoreIOCallable(OutOfCoreEngine oocEngine, int diskId)
oocEngine
- out-of-core enginediskId
- thread id/disk idpublic void newSuperstep(SuperstepMetricsRegistry superstepMetrics)
ResetSuperstepMetricsObserver
newSuperstep
in interface ResetSuperstepMetricsObserver
superstepMetrics
- SuperstepMetricsRegistry being used.Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.