visad/src/main/java/ucar/nc2/iosp/grid/GridServiceProvider.java
static public void setExtendIndex(boolean b) {
    indexFileModeOnOpen = b ? IndexExtendMode.extendwrite : IndexExtendMode.readonly;
    indexFileModeOnSync = b ? IndexExtendMode.extendwrite : IndexExtendMode.readonly;
  }
static public void setExtendIndex(boolean b) {
    indexFileModeOnOpen = b ? IndexExtendMode.extendwrite : IndexExtendMode.readonly;
    indexFileModeOnSync = b ? IndexExtendMode.extendwrite : IndexExtendMode.readonly;
  }
Set how indexes are used for both open and sync

@param b if true, set modes to IndexExtendMode.extendwrite, else IndexExtendMode.readonly
@deprecated use setIndexFileModeOnSync and setIndexFileModeOnOpen