setStatistics(new GatewayStats(this._cache.getDistributedSystem(), getGatewayHubId(), getId(), gpi == null ? null : gpi.getStatistics()));
setStatistics(new GatewayStats(this._cache.getDistributedSystem(), getGatewayHubId(), getId(), gpi == null ? null : gpi.getStatistics()));