public class DirtyReadHostHandler extends Object implements HostHandler
| Constructor and Description |
|---|
DirtyReadHostHandler(HostHandler master,
HostHandler follower) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
closeCurrentOnError() |
void |
closeCurrentOnErrorIfNotMatch(HostDescription host) |
void |
confirm() |
void |
fail(Exception exception) |
void |
failIfNotMatch(HostDescription host,
Exception exception) |
Host |
get(HostHandle hostHandle,
AccessType accessType) |
void |
reset() |
void |
setJwt(String jwt) |
void |
success() |
public DirtyReadHostHandler(HostHandler master, HostHandler follower)
public Host get(HostHandle hostHandle, AccessType accessType)
get in interface HostHandlerpublic void success()
success in interface HostHandlerpublic void fail(Exception exception)
fail in interface HostHandlerpublic void failIfNotMatch(HostDescription host, Exception exception)
failIfNotMatch in interface HostHandlerpublic void reset()
reset in interface HostHandlerpublic void confirm()
confirm in interface HostHandlerpublic void close()
throws IOException
close in interface HostHandlerIOExceptionpublic void closeCurrentOnError()
closeCurrentOnError in interface HostHandlerpublic void closeCurrentOnErrorIfNotMatch(HostDescription host)
closeCurrentOnErrorIfNotMatch in interface HostHandlerpublic void setJwt(String jwt)
setJwt in interface HostHandlerCopyright © 2016–2022 ArangoDB GmbH. All rights reserved.