Class MapDbVariable<V>

  • All Implemented Interfaces:
    Variable<V>

    public class MapDbVariable<V>
    extends Object
    implements Variable<V>
    A variable backed by a MapDB database.
    Author:
    Andrea Leofreddi
    • Constructor Detail

      • MapDbVariable

        public MapDbVariable()
        Construct a MapDbVariable backed by its own private database.
      • MapDbVariable

        public MapDbVariable​(org.mapdb.DB db,
                             String name)
        Constructs a MapDbVariable backed by an existing MapDB database.
        Parameters:
        db - The backend database
        name - The collection name to be used in the DB