public final SamzaResourceRequest getResourceRequestWithDelay(String processorId, String preferredHost, Duration delay) {
    return new SamzaResourceRequest(this.containerNumCpuCores, this.containerMemoryMb, preferredHost, processorId, Instant.now().plus(delay));
  }
Creates a {@link SamzaResourceRequest} to send to the cluster manager with a request timestamp of the current time
plus the specified delay.
@param processorId Samza processor ID that will be run when a resource is allocated for this request
@param preferredHost name of the host that you prefer to run the processor on
@param delay the {@link Duration} to add to the request timestamp
@return the created request
samza-core/src/main/java/org/apache/samza/clustermanager/ContainerAllocator.java