public final void requestResourceWithDelay(String processorId, String preferredHost, Duration delay, Set<FaultDomain> faultDomains) {
    SamzaResourceRequest request = getResourceRequestWithDelay(processorId, preferredHost, delay, faultDomains);
    issueResourceRequest(request);
  }
Requests a resource from 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
@param faultDomains set of fault domains on which to schedule this resource
samza-core/src/main/java/org/apache/samza/clustermanager/ContainerAllocator.java