public interface ContentSession extends java.io.Closeable
ContentSessionprovides access to the actual content through its
This interface is thread-safe.
|Modifier and Type||Method and Description|
This methods provides access to information related to authentication and authorization of this content session.
The current head root as seen by this content session.
The name of the workspace this
ContentSessioninstance has been created for. If no workspace name has been specified during repository login this method will return the name of the default workspace.
TODO clarify workspace handling once multiple workspaces are supported. See OAK-118.
nullif this content session is repository bound.
Root.commit()to atomically apply the changes made in that subtree the underlying Microkernel.
The root instance gives you a stable view of the tree at the time the root is acquired. In certain setups (i.e. clusters) changes committed through other sessions might not be immediately reflected through this call.
Please note this method is possibly expensive because it internally reads from the backend to detect if there were any changes (from any session).
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"