Package com.arangodb.internal.net
Interface HostHandler
- All Known Implementing Classes:
DirtyReadHostHandler
,FallbackHostHandler
,RandomHostHandler
,RoundRobinHostHandler
public interface HostHandler
- Author:
- Mark Vollmary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkNext
(HostHandle hostHandle, AccessType accessType) void
close()
void
void
failIfNotMatch
(HostDescription host, Exception exception) get
(HostHandle hostHandle, AccessType accessType) void
reset()
void
void
success()
-
Method Details
-
get
-
checkNext
-
success
void success() -
fail
-
failIfNotMatch
-
reset
void reset() -
close
- Throws:
IOException
-
setJwt
-