Interface CustomData

  • All Known Implementing Classes:
    NullCustomData

    public interface CustomData
    • Method Detail

      • getId

        long getId()
      • updateValues

        void updateValues​(@NotNull
                          Map<String,​String> newOrChangedValues,
                          @NotNull
                          Set<String> removedKeys)
      • clear

        void clear()
      • getValue

        @Nullable
        String getValue​(@NotNull
                        String key)
      • putValue

        void putValue​(@NotNull
                      String key,
                      @Nullable
                      String value)
      • serialize

        @NotNull
        String serialize()
      • isDirty

        boolean isDirty()
      • getUpdateMarker

        long getUpdateMarker()
      • getLastUsedTime

        long getLastUsedTime()
      • getDataLoadTime

        long getDataLoadTime()
      • size

        int size()
        Returns:
        size of this storage, i.e. number of key/value pairs