# The Java Embedded Database Class ClusterInfo

ClusterInfo provides information about the eXtremeDB Cluster interface.

### For an overview see page Java Database Class

### Class Definition

        public static class ClusterInfo
        {
            public int  rTransCommit;
            public int  rTransRollback;
            public long bytesSent;
            public long bytesRecv;
            public int  nActiveNodes;
            public int  nodeId;

            ClusterInfo(int rTransCommit, int rTransRollback, long bytesSent,
                    long bytesRecv, int nActiveNodes, int nodeId)
            {
                this.rTransCommit     = rTransCommit;
                this.rTransRollback   = rTransRollback;
                this.bytesSent        = bytesSent;
                this.bytesRecv        = bytesRecv;
                this.nActiveNodes     = nActiveNodes;
                this.nodeId           = nodeId;
            }
        };

### Definitions:

`rTransCommit` | The number of successful remote transactions
`rTransRollback` | The number of aborted remote transactions
`bytesSent` | The total amount of sent data, in bytes
`bytesRecv` | The total amount of received data, in bytes
`nActiveNodes` | The number of currently active Cluster nodes
`nodeId` | This node ID