public class ClusterRedirectException extends DataRetrievalFailureException
ClusterRedirectException indicates that a requested slot is not served by the targeted server but can be
obtained on another one.| Constructor and Description |
|---|
ClusterRedirectException(int slot,
String targetHost,
int targetPort,
Throwable e)
Creates new
ClusterRedirectException. |
| Modifier and Type | Method and Description |
|---|---|
int |
getSlot() |
String |
getTargetHost() |
int |
getTargetPort() |
contains, getMessage, getMostSpecificCause, getRootCauseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ClusterRedirectException(int slot,
String targetHost,
int targetPort,
Throwable e)
ClusterRedirectException.slot - the slot to redirect to.targetHost - the host to redirect to.targetPort - the port on the host.e - the root cause from the data access API in use.public int getSlot()
public String getTargetHost()
public int getTargetPort()
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.