- java.lang.Object
-
- swim.system.reflect.HostInfo
-
public class HostInfo extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
connected()
static HostInfo
create(HostBinding hostBinding)
static Form<HostInfo>
form()
Uri
hostUri()
boolean
master()
long
nodeCount()
boolean
primary()
boolean
remote()
boolean
replica()
boolean
secure()
boolean
slave()
Value
toValue()
-
-
-
Field Detail
-
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 Detail
-
HostInfo
public HostInfo(Uri hostUri, boolean connected, boolean remote, boolean secure, boolean primary, boolean replica, boolean master, boolean slave, long nodeCount)
-
-
Method Detail
-
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()
-
toValue
public Value toValue()
-
create
public static HostInfo create(HostBinding hostBinding)
-
-