Interface PriorityProvider

All Known Implementing Classes:
PriorityStorage

@API(status=STABLE, since="2.0.0-milestone.1.0") public interface PriorityProvider
Implement this on Storages that have a priority that are contained in an CompositeStorage.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    The priority.
  • Method Details

    • getPriority

      int getPriority()
      The priority. Higher priority storages will be inserted into and extracted from first.
      Returns:
      the priority