Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.hubspot.singularity;
 
 
 
  private final String host;
  private final String rackId;
  public static SingularitySlave fromBytes(byte[] bytesObjectMapper objectMapper) {
    try {
      return objectMapper.readValue(bytesSingularitySlave.class);
    } catch (IOException e) {
      throw new SingularityJsonException(e);
    }
  }
  public SingularitySlave(String slaveIdString hostString rackId) {
    super(slaveId);
    this. = host;
    this. = rackId;
  }
  public SingularitySlave(@JsonProperty("slaveId"String slaveId, @JsonProperty("host"String host, @JsonProperty("rackId"String rackId, @JsonProperty("state"SingularityMachineState state,
      @JsonProperty("firstSeenAt"long firstSeenAt, @JsonProperty("decomissioningBy"Optional<StringdecomissioningBy, @JsonProperty("decomissioningAt"Optional<LongdecomissioningAt,
      @JsonProperty("decomissionedAt"Optional<LongdecomissionedAt, @JsonProperty("deadAt"Optional<LongdeadAt) {
    super(slaveIdstatefirstSeenAtdecomissioningBydecomissioningAtdecomissionedAtdeadAt);
    this. = host;
    this. = rackId;
  }
  public String getHost() {
    return ;
  }
  public String getRackId() {
    return ;
  }
  public String toString() {
    return "SingularitySlave [host=" +  + ", rackId=" +  + ", getDecomissioningBy()=" + getDecomissioningBy() + ", getDecomissioningAt()=" + getDecomissioningAt() + ", getId()=" + getId() + ", getDeadAt()=" + getDeadAt()
        + ", getDecomissionedAt()=" + getDecomissionedAt() + ", getFirstSeenAt()=" + getFirstSeenAt() + ", getState()=" + getState() + "]";
  }
New to GrepCode? Check out our FAQ X