Interface FastModeControl


public interface FastModeControl
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Instruct this container that you no longer require it to consume resources to speed access to it's content.
    void
    Instruct this container it may commit to using more resources to speed access to it's content.
  • Method Details

    • useFastMode

      void useFastMode()
      Instruct this container it may commit to using more resources to speed access to it's content.

      Fast Mode is enabled at the root container, and enables/disables for all containers beneath that root.
      Fast Mode does not cascade into new root containers (eg, where Entry.convertToContainer().isRoot()==true)

      Calling this method requires you to later invoke ArtifactContainer.stopUsingFastMode()

      This method is equivalent to {@link ArtifactContainer.getRoot().useFastMode()}

    • stopUsingFastMode

      void stopUsingFastMode()
      Instruct this container that you no longer require it to consume resources to speed access to it's content.

      Fast Mode is enabled at the root container, and enables/disables for all containers beneath that root.
      Fast Mode does not cascade into new root containers (eg, where Entry.convertToContainer().isRoot()==true)

      Calling this method requires you to have previously invoked ArtifactContainer.useFastMode()

      This method is equivalent to {@link ArtifactContainer.getRoot().useFastMode()}