com.ibm.wsspi.adaptable.module

Interface FastModeControl


  1. public interface FastModeControl

Method Summary

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

Method Detail

useFastMode

  1. 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 ArtifactContainer.getRoot().useFastMode()


stopUsingFastMode

  1. 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 ArtifactContainer.getRoot().useFastMode()