Class FsyncUnlockOperation

  • All Implemented Interfaces:
    ReadOperation<org.bson.BsonDocument>, WriteOperation<org.bson.BsonDocument>

    @Deprecated
    public class FsyncUnlockOperation
    extends Object
    implements WriteOperation<org.bson.BsonDocument>, ReadOperation<org.bson.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
    MongoDB documentation
    fsyncUnlock command
    • Constructor Detail

      • FsyncUnlockOperation

        public FsyncUnlockOperation()
        Deprecated.
    • Method Detail

      • execute

        @Deprecated
        public org.bson.BsonDocument execute​(WriteBinding binding)
        Deprecated.
        Unlocks the MongoDB server, allowing write operations to go through.
        Specified by:
        execute in interface WriteOperation<org.bson.BsonDocument>
        Parameters:
        binding - the binding to execute in the context of
        Returns:
        the result of the operation
      • execute

        public org.bson.BsonDocument execute​(ReadBinding binding)
        Deprecated.
        Description copied from interface: ReadOperation
        General execute which can return anything of type T
        Specified by:
        execute in interface ReadOperation<org.bson.BsonDocument>
        Parameters:
        binding - the binding to execute in the context of
        Returns:
        T, the result of the execution