reorganize

format

void reorganize() throws EveException

 

void reorganize(CommandList beforeMethods,CommandList afterMethods) throws EveException

description

Optimizes the data structures within the MediaCollection to allow for faster searching. When you add items to a MediaCollection, no attempt is made to optimize their placement within the data store. However, after you have added a large number of MediaObjects, you should call reorganize() in order to optimize the indexes.

parameters

CommandList beforeMethods — indicates that you want to run a command method(s) before the method is invoked

 

CommandList afterMethods — indicates that you want to run a command method(s) after the method is executed

returns

nothing (void)

throws

The reorganize() method throws an EveException if the reorganization fails.