public MyIndex(
     final ID<Integer, SerializedStubTree> indexId,
     final IndexStorage<Integer, SerializedStubTree> storage,
     final DataIndexer<Integer, SerializedStubTree, FileContent> indexer) {
   super(indexId, indexer, storage);
   try {
     checkNameStorage();
   } catch (StorageException e) {
     LOG.info(e);
     FileBasedIndex.requestRebuild(INDEX_ID);
   }
 }
 private static void requestRebuild() {
   FileBasedIndex.requestRebuild(StubUpdatingIndex.INDEX_ID);
 }