// Path: bolt-jna-core/src/main/java/com/protonail/bolt/jna/impl/Stats.java
// public class Stats extends Structure {
//     public static class ByValue extends Stats implements Structure.ByValue {}
// 
//     public int freePageN;
//     public int pendingPageN;
//     public int freeAlloc;
//     public int freelistInUse;
// 
//     public int txN;
//     public int openTxN;
//     public TransactionStats.ByValue txStats;
// 
//     @Override
//     protected List<String> getFieldOrder() {
//         return Arrays.asList(
//                 "freePageN",
//                 "pendingPageN",
//                 "freeAlloc",
//                 "freelistInUse",
//                 "txN",
//                 "openTxN",
//                 "txStats"
//         );
//     }
// }


import com.protonail.bolt.jna.impl.Stats;
package com.protonail.bolt.jna;


public class BoltStats {
    private int freePageN;
    private int pendingPageN;
    private int freeAlloc;
    private int freelistInUse;

    private int transactionN;
    private int openTransactionN;
    private BoltTransactionStats transactionStats;

// Path: bolt-jna-core/src/main/java/com/protonail/bolt/jna/impl/Stats.java
// public class Stats extends Structure {
//     public static class ByValue extends Stats implements Structure.ByValue {}
// 
//     public int freePageN;
//     public int pendingPageN;
//     public int freeAlloc;
//     public int freelistInUse;
// 
//     public int txN;
//     public int openTxN;
//     public TransactionStats.ByValue txStats;
// 
//     @Override
//     protected List<String> getFieldOrder() {
//         return Arrays.asList(
//                 "freePageN",
//                 "pendingPageN",
//                 "freeAlloc",
//                 "freelistInUse",
//                 "txN",
//                 "openTxN",
//                 "txStats"
//         );
//     }
// }


// Path: bolt-jna-core/src/main/java/com/protonail/bolt/jna/BoltStats.java
import com.protonail.bolt.jna.impl.Stats;

package com.protonail.bolt.jna;


public class BoltStats {
    private int freePageN;
    private int pendingPageN;
    private int freeAlloc;
    private int freelistInUse;

    private int transactionN;
    private int openTransactionN;
    private BoltTransactionStats transactionStats;

    public BoltStats(Stats.ByValue stats) {