public static EventID generateEventId(){
  GemFireCacheImpl cache=GemFireCacheImpl.getInstance();
  if (cache == null) {
    return null;
  }
  return new EventID(InternalDistributedSystem.getAnyInstance());
}

public static EventID generateEventId ( ) { GemFireCacheImpl cache = GemFireCacheImpl . getInstance ( ) ; if ( cache == null ) { return null ; } return new EventID ( InternalDistributedSystem . getAnyInstance ( ) ) ; }
sets the eventid to the instantiator if distributed system is created
