public abstract class LongOperation
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
LongOperation.LongOperationType
Enum for long operations types
|
Constructor and Description |
---|
LongOperation() |
Modifier and Type | Method and Description |
---|---|
abstract JSONObject |
getDetails() |
protected abstract void |
initFromDbRow(SmartStore store,
long rowId,
JSONObject details,
java.lang.String statusStr) |
abstract void |
run()
Run long operation
|
protected abstract void initFromDbRow(SmartStore store, long rowId, JSONObject details, java.lang.String statusStr) throws JSONException
store
- rowId
- details
- statusStr
- JSONException
public abstract void run()
public abstract JSONObject getDetails() throws JSONException
JSONException