Class DropDatabaseOperation

    • Constructor Detail

      • DropDatabaseOperation

        @Deprecated
        public DropDatabaseOperation​(String databaseName)
        Deprecated.
        Construct a new instance.
        Parameters:
        databaseName - the name of the database for the operation.
      • DropDatabaseOperation

        public DropDatabaseOperation​(String databaseName,
                                     WriteConcern writeConcern)
        Deprecated.
        Construct a new instance.
        Parameters:
        databaseName - the name of the database for the operation.
        writeConcern - the write concern
        Since:
        3.4
    • Method Detail

      • getWriteConcern

        public WriteConcern getWriteConcern()
        Deprecated.
        Gets the write concern.
        Returns:
        the write concern, which may be null
        Since:
        3.4
      • execute

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