Class AtomicServerLoader

java.lang.Object
com.djrapitops.plan.identification.storage.AtomicServerLoader
All Implemented Interfaces:
ServerLoader

public class AtomicServerLoader extends Object implements ServerLoader
  • Constructor Details

    • AtomicServerLoader

      public AtomicServerLoader(ServerLoader original)
  • Method Details

    • load

      public Optional<Server> load(ServerUUID serverUUID)
      Description copied from interface: ServerLoader
      Load the server information.
      Specified by:
      load in interface ServerLoader
      Parameters:
      serverUUID - UUID of the server, null if not known
      Returns:
      Optional of the saved information or empty if it has not been stored.
    • save

      public void save(Server information)
      Description copied from interface: ServerLoader
      Save the server information.
      Specified by:
      save in interface ServerLoader
      Parameters:
      information - Information to save.