All Downloads are FREE. Search and download functionalities are using the official Maven repository.

delombok.io.github.qsy7.examples.keep_alive.KeepAliveExample Maven / Gradle / Ivy

There is a newer version: 0.3.3
Show newest version
// Generated by delombok at Fri Apr 08 15:03:06 EDT 2022
package io.github.qsy7.examples.keep_alive;

import io.github.qsy7.keep_alive.KeepAlive;
import java.time.Duration;

public class KeepAliveExample implements KeepAlive {
  protected final String data;

  @Override
  public Duration getKeepAliveInterval() {
    return Duration.ofSeconds(1);
  }

  @Override
  public Duration getKeepAliveDuration() {
    return Duration.ofSeconds(5);
  }

  @java.lang.SuppressWarnings("all")
  public String getData() {
    return this.data;
  }

  @java.lang.SuppressWarnings("all")
  public KeepAliveExample(final String data) {
    this.data = data;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy