AsyncReadOperation<Boolean>
, ReadOperation<Boolean>
public class UserExistsOperation extends Object implements AsyncReadOperation<Boolean>, ReadOperation<Boolean>
Constructor | Description |
---|---|
UserExistsOperationβ(String databaseName,
String userName) |
Construct a new instance.
|
Modifier and Type | Method | Description |
---|---|---|
Boolean |
executeβ(ReadBinding binding) |
General execute which can return anything of type T
|
void |
executeAsyncβ(AsyncReadBinding binding,
SingleResultCallback<Boolean> callback) |
General execute which can return anything of type T
|
public Boolean executeβ(ReadBinding binding)
ReadOperation
execute
in interface ReadOperation<Boolean>
binding
- the binding to execute in the context ofpublic void executeAsyncβ(AsyncReadBinding binding, SingleResultCallback<Boolean> callback)
AsyncReadOperation
executeAsync
in interface AsyncReadOperation<Boolean>
binding
- the binding to execute in the context ofcallback
- the callback to be called when the operation has been executed