Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  package com.hubspot.singularity;
  
  
  
 
   private final String requestId;
   private final String deployId;
 
   private final int numSuccess;
   private final int numFailures;
 
   private final int numSequentialRetries;
   private final int numSequentialSuccess;
   private final int numSequentialFailures;
 
   private final Optional<LonglastFinishAt;
   private final Optional<ExtendedTaskStatelastTaskState;
 
   public static SingularityDeployStatistics fromBytes(byte[] bytesObjectMapper objectMapper) {
     try {
       return objectMapper.readValue(bytesSingularityDeployStatistics.class);
     } catch (IOException e) {
       throw new SingularityJsonException(e);
     }
   }
 
   public SingularityDeployStatistics(@JsonProperty("requestId"String requestId, @JsonProperty("deployId"String deployId, @JsonProperty("numSuccess"int numSuccess, @JsonProperty("numFailures"int numFailures,
       @JsonProperty("numSequentialRetries"int numSequentialRetries, @JsonProperty("lastFinishAt"Optional<LonglastFinishAt, @JsonProperty("lastTaskState"Optional<ExtendedTaskStatelastTaskState,
       @JsonProperty("numSequentialSuccess"int numSequentialSuccess, @JsonProperty("numSequentialFailures"int numSequentialFailures) {
     this. = requestId;
     this. = deployId;
     this. = numSuccess;
     this. = numFailures;
     this. = lastFinishAt;
     this. = lastTaskState;
     this. = numSequentialRetries;
     this. = numSequentialFailures;
     this. = numSequentialSuccess;
   }
 
       .setNumSuccess();
   }
 
   public String getRequestId() {
     return ;
   }
 
   public String getDeployId() {
     return ;
   }
 
   public int getNumSuccess() {
     return ;
   }
 
   public int getNumFailures() {
     return ;
   }
 
   public Optional<LonggetLastFinishAt() {
     return ;
   }
 
     return ;
   }
 
   public int getNumSequentialRetries() {
     return ;
   }
 
   public int getNumSequentialSuccess() {
     return ;
   }
 
   public int getNumSequentialFailures() {
     return ;
   }
 
   @Override
   public String toString() {
     return "SingularityDeployStatistics [requestId=" +  + ", deployId=" +  + ", numSuccess=" +  + ", numFailures=" +  + ", numSequentialRetries=" +  + ", numSequentialSuccess="
         +  + ", numSequentialFailures=" +  + ", lastFinishAt=" +  + ", lastTaskState=" +  + "]";
   }
New to GrepCode? Check out our FAQ X