private void putCacheEntry()

in src/main/java/com/googlesource/gerrit/plugins/replicationstatus/EventHandler.java [61:70]


  private <T extends RemoteRefReplicationEvent> void putCacheEntry(
      ReplicationType type, T replicationEvent, String remote, String status) {
    Key cacheKey =
        Key.create(replicationEvent.getProjectNameKey(), remote, replicationEvent.getRefName());

    replicationStatusCache.put(
        cacheKey,
        ReplicationStatus.create(
            type, ReplicationStatusResult.fromString(status), replicationEvent.eventCreatedOn));
  }