public class HostInfo
extends Object
-
Field Summary
Fields
protected final boolean
protected final boolean
protected final long
protected final boolean
protected final boolean
protected final boolean
protected final boolean
protected final boolean
-
Constructor Summary
Constructors
HostInfo(Uri hostUri,
boolean connected,
boolean remote,
boolean secure,
boolean primary,
boolean replica,
boolean master,
boolean slave,
long nodeCount)
-
Method Summary
final boolean
final boolean
final long
final boolean
final boolean
final boolean
final boolean
final boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
hostUri
protected final Uri hostUri
-
connected
protected final boolean connected
-
remote
protected final boolean remote
-
secure
protected final boolean secure
-
primary
protected final boolean primary
-
replica
protected final boolean replica
-
master
protected final boolean master
-
slave
protected final boolean slave
-
nodeCount
protected final long nodeCount
-
Constructor Details
-
HostInfo
public HostInfo(Uri hostUri,
boolean connected,
boolean remote,
boolean secure,
boolean primary,
boolean replica,
boolean master,
boolean slave,
long nodeCount)
-
Method Details
-
hostUri
public final Uri hostUri()
-
connected
public final boolean connected()
-
remote
public final boolean remote()
-
secure
public final boolean secure()
-
primary
public final boolean primary()
-
replica
public final boolean replica()
-
master
public final boolean master()
-
slave
public final boolean slave()
-
nodeCount
public final long nodeCount()
-
-
-