com.ibm.wsspi.adaptable.module
Interface FastModeControl


public interface FastModeControl


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

Method Detail

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