Class Server.DrbdReport
- java.lang.Object
-
- com.aoindustries.aoserv.client.linux.Server.DrbdReport
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classServer.DrbdReport.ConnectionStateObtained from http://www.drbd.org/users-guide/ch-admin.html#s-connection-statesstatic classServer.DrbdReport.DiskStateObtained from http://www.drbd.org/users-guide/ch-admin.html#s-disk-statesstatic classServer.DrbdReport.RoleObtained from http://www.drbd.org/users-guide/ch-admin.html#s-roles
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Server.DrbdReport.ConnectionStategetConnectionState()StringgetDevice()LonggetLastVerified()Gets the time verification was last started from this node ornullif never started.Server.DrbdReport.DiskStategetLocalDiskState()Server.DrbdReport.RolegetLocalRole()LonggetOutOfSync()Gets the number of kilobytes of data out of sync, in Kibibytes.Server.DrbdReport.DiskStategetRemoteDiskState()Server.DrbdReport.RolegetRemoteRole()StringgetResourceDevice()StringgetResourceHostname()
-
-
-
Method Detail
-
getConnectionState
public Server.DrbdReport.ConnectionState getConnectionState()
-
getDevice
public String getDevice()
-
getLocalDiskState
public Server.DrbdReport.DiskState getLocalDiskState()
-
getLocalRole
public Server.DrbdReport.Role getLocalRole()
-
getRemoteDiskState
public Server.DrbdReport.DiskState getRemoteDiskState()
-
getRemoteRole
public Server.DrbdReport.Role getRemoteRole()
-
getResourceDevice
public String getResourceDevice()
-
getResourceHostname
public String getResourceHostname()
-
getLastVerified
public Long getLastVerified()
Gets the time verification was last started from this node ornullif never started.
-
getOutOfSync
public Long getOutOfSync()
Gets the number of kilobytes of data out of sync, in Kibibytes. http://www.drbd.org/users-guide/ch-admin.html#s-performance-indicators
-
-