Package com.mongodb.operation
Class FsyncUnlockOperation
java.lang.Object
com.mongodb.operation.FsyncUnlockOperation
- All Implemented Interfaces:
ReadOperation<BsonDocument>,WriteOperation<BsonDocument>
@Deprecated
public class FsyncUnlockOperation
extends Object
implements WriteOperation<BsonDocument>, ReadOperation<BsonDocument>
Deprecated.
Unlocks the MongoDB server, allowing write operations to go through. This may be asynchronous on the server, which means
there may be a small delay before the database becomes writable.
- Since:
- 3.2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute(ReadBinding binding) Deprecated.General execute which can return anything of type Texecute(WriteBinding binding) Deprecated.
-
Constructor Details
-
FsyncUnlockOperation
public FsyncUnlockOperation()Deprecated.
-
-
Method Details
-
execute
Deprecated.useexecute(ReadBinding)instead.Unlocks the MongoDB server, allowing write operations to go through.- Specified by:
executein interfaceWriteOperation<BsonDocument>- Parameters:
binding- the binding to execute in the context of- Returns:
- the result of the operation
-
execute
Deprecated.Description copied from interface:ReadOperationGeneral execute which can return anything of type T- Specified by:
executein interfaceReadOperation<BsonDocument>- Parameters:
binding- the binding to execute in the context of- Returns:
- T, the result of the execution
-
execute(ReadBinding)instead.