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 java.lang.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 Constructor Description FsyncUnlockOperation()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description BsonDocument
execute(ReadBinding binding)
Deprecated.General execute which can return anything of type TBsonDocument
execute(WriteBinding binding)
Deprecated.useexecute(ReadBinding)
instead.
-
-
-
Method Detail
-
execute
@Deprecated public BsonDocument execute(WriteBinding binding)
Deprecated.useexecute(ReadBinding)
instead.Unlocks the MongoDB server, allowing write operations to go through.- Specified by:
execute
in interfaceWriteOperation<BsonDocument>
- Parameters:
binding
- the binding to execute in the context of- Returns:
- the result of the operation
-
execute
public BsonDocument execute(ReadBinding binding)
Deprecated.Description copied from interface:ReadOperation
General execute which can return anything of type T- Specified by:
execute
in interfaceReadOperation<BsonDocument>
- Parameters:
binding
- the binding to execute in the context of- Returns:
- T, the result of the execution
-
-