# The Java Statistic Class

The Statistic class is used to provide runtime database statistics .

### For an overview see page Java Classes

### Class Definition

        public  class Statistic
        {
            public static class ClassStat {
                public long ObjectsCount;
                public int VersionsCount;
                public int CorePageCount;
                public int BlobPages;
                public int SeqPages;
                public long CoreSpace;

            public ClassStat(long ObjectsCount,
                int VersionsCount,
                int CorePageCount,
                int BlobPages,
                long CoreSpace)
            {
                this.ObjectsCount = ObjectsCount;
                this.VersionsCount = VersionsCount;
                this.CorePageCount = CorePageCount;
                this.BlobPages = BlobPages;
                this.CoreSpace = CoreSpace;
            }

            // Constant values
            ...

            // Embedded classes
            ...
        };

### Definitons:

ObjectsCount | Number of objects of this class
VersionsCount | Number of versions of objects of this class
CorePageCount | Number of pages for core objects
BlobPages | Number of pages for `blob` objects
SeqPages | Number of pages for `sequence` objects
CoreSpace | Number of bytes of memory for core objects
Constant Values | Define index characteristics
Embedded classes | Specialized embedded classes