public int hashCode() {
      // It returns a constant number as the equality check is based on
      // the OR condition between the indexName and its characteristics
      // (involving type, expression and definition), because of this
      // its not possible to come-up with an accurate hash code.
      return 99;
    }
Index Task used to create the index. This is used along with the FutureTask to take care of,
same index creation request from multiple threads. At any time only one thread succeeds and
other threads waits for the completion of the index creation. This avoids usage of
synchronization which could block any index creation.
geode-core/src/main/java/org/apache/geode/cache/query/internal/index/IndexManager.java