default void tryAtomically(AtomicDirectoryOperation<ObjectType> operation)
            throws GuacamoleException {

        // By default, perform the operation non-atomically. If atomic operation
        // is supported by an implementation, it must be implemented there.
        operation.executeOperation(false, this);

    }
Attempt to perform the provided operation atomically if possible. If the
operation can be performed atomically, the atomic flag will be set to
true, and the directory passed to the provided operation callback will
peform directory operations atomically within the operation callback.

@param operation
    The directory operation that should be performed atomically.

@throws GuacamoleException
    If an error occurs during execution of the provided operation.
guacamole-ext/src/main/java/org/apache/guacamole/net/auth/Directory.java