Class IslandDatabase

java.lang.Object
net.swofty.data.mongodb.IslandDatabase
All Implemented Interfaces:
MongoDB

public class IslandDatabase extends Object implements MongoDB
  • Field Details

    • GLOBAL_USER_CACHE

      public static final Map<UUID,Map<String,Object>> GLOBAL_USER_CACHE
    • Document_Cache

      public static final Map<String,org.bson.Document> Document_Cache
    • id

      public final String id
    • client

      public static com.mongodb.client.MongoClient client
    • database

      public static com.mongodb.client.MongoDatabase database
    • collection

      public static com.mongodb.client.MongoCollection<org.bson.Document> collection
  • Constructor Details

    • IslandDatabase

      public IslandDatabase(String id)
  • Method Details