@Override
  public Object getKey() {
    // TODO:Asif : Ideally would like to have throw exception if the key
    // is TOKEN_UN_INITIALIZED, but for the time being trying to retain the GFE
    // behaviour
    // of returning null if getKey is invoked on un-initialized gateway event
    return isInitialized() ? key : null;
  }
Returns this event's key

@return this event's key
geode-core/src/main/java/org/apache/geode/internal/cache/wan/GatewaySenderEventImpl.java