Uses of Annotation Interface
org.neo4j.driver.util.Preview
Packages that use Preview
-
Uses of Preview in org.neo4j.driver
Classes in org.neo4j.driver with annotations of type PreviewModifier and TypeInterfaceDescriptioninterfaceA container used by the expiration basedAuthTokenManagerimplementation provided by the driver, it contains anAuthTokenand its UTC expiration timestamp.interfaceA manager ofAuthTokeninstances used by the driver.final classImplementations ofAuthTokenManager.Methods in org.neo4j.driver with annotations of type PreviewModifier and TypeMethodDescriptionstatic DriverGraphDatabase.driver(String uri, AuthTokenManager authTokenManager) Returns a driver for a Neo4j instance with the default configuration settings and the providedAuthTokenManager.static DriverGraphDatabase.driver(String uri, AuthTokenManager authTokenManager, Config config) Returns a driver for a Neo4j instance with the providedAuthTokenManagerand custom configuration.static DriverGraphDatabase.driver(URI uri, AuthTokenManager authTokenManager) Returns a driver for a Neo4j instance with the default configuration settings and the providedAuthTokenManager.static DriverGraphDatabase.driver(URI uri, AuthTokenManager authTokenManager, Config config) Returns a driver for a Neo4j instance with the providedAuthTokenManagerand custom configuration.default AuthTokenAndExpirationAuthToken.expiringAt(long utcExpirationTimestamp) Returns a new instance of a type holding both the token and its UTC expiration timestamp.default <T extends BaseSession>
TInstantiate a new session of a supported type with the suppliedAuthToken.<T extends BaseSession>
TDriver.session(Class<T> sessionClass, SessionConfig sessionConfig, AuthToken sessionAuthToken) Instantiate a new session of a supported type with the suppliedsession configurationandAuthToken. -
Uses of Preview in org.neo4j.driver.exceptions
Classes in org.neo4j.driver.exceptions with annotations of type PreviewModifier and TypeClassDescriptionclassTheAuthTokenManagerexecution has lead to an unexpected result.classIndicates that the containedSecurityExceptionis aRetryableException, which is determined by theAuthTokenManager.handleSecurityException(AuthToken, SecurityException)method.