Class TransactionOperation

    • Constructor Detail

      • TransactionOperation

        protected TransactionOperation​(WriteConcern writeConcern)
        Deprecated. 
        Construct an instance.
        Parameters:
        writeConcern - the write concern
    • Method Detail

      • getWriteConcern

        public WriteConcern getWriteConcern​()
        Deprecated. 
        Gets the write concern.
        Returns:
        the write concern
      • 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
      • getCommandName

        protected abstract String getCommandName​()
        Deprecated. 
        Gets the command name.
        Returns:
        the command name