Package com.mongodb.operation
Class FsyncUnlockOperation
- java.lang.Object
-
- com.mongodb.operation.FsyncUnlockOperation
-
- All Implemented Interfaces:
ReadOperation<BsonDocument>,WriteOperation<BsonDocument>
Deprecated.
@Deprecated public class FsyncUnlockOperation extends Object implements WriteOperation<BsonDocument>, ReadOperation<BsonDocument>
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
- MongoDB documentation
- fsyncUnlock command
-
-
Constructor Summary
Constructors Constructor Description FsyncUnlockOperation()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description BsonDocumentexecute(ReadBinding binding)Deprecated.General execute which can return anything of type TBsonDocumentexecute(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:
executein 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: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
-
-