congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
GracefulShutdownTimeout
Code IndexAdd Tabnine to your IDE (free)

How to use
GracefulShutdownTimeout
in
com.linecorp.centraldogma.server

Best Java code snippets using com.linecorp.centraldogma.server.GracefulShutdownTimeout (Showing top 6 results out of 315)

origin: line/centraldogma

  @Override
  protected void configure(CentralDogmaBuilder builder) {
    super.configure(builder);
    builder.gracefulShutdownTimeout(new GracefulShutdownTimeout(1000, 2000));
  }
};
origin: line/centraldogma

cfg.maxFrameLength().ifPresent(sb::defaultMaxRequestLength);
cfg.gracefulShutdownTimeout().ifPresent(
    t -> sb.gracefulShutdownTimeout(t.quietPeriodMillis(), t.timeoutMillis()));
origin: com.linecorp.centraldogma/centraldogma-server-shaded

cfg.maxFrameLength().ifPresent(sb::defaultMaxRequestLength);
cfg.gracefulShutdownTimeout().ifPresent(
    t -> sb.gracefulShutdownTimeout(t.quietPeriodMillis(), t.timeoutMillis()));
origin: com.linecorp.centraldogma/centraldogma-server

cfg.maxFrameLength().ifPresent(sb::defaultMaxRequestLength);
cfg.gracefulShutdownTimeout().ifPresent(
    t -> sb.gracefulShutdownTimeout(t.quietPeriodMillis(), t.timeoutMillis()));
origin: line/centraldogma

.webAppEnabled(false)
.mirroringEnabled(false)
.gracefulShutdownTimeout(new GracefulShutdownTimeout(0, 0));
origin: line/centraldogma

.webAppEnabled(true)
.mirroringEnabled(false)
.gracefulShutdownTimeout(new GracefulShutdownTimeout(0, 0))
.replication(new ZooKeeperReplicationConfig(1, servers))
.build();
.webAppEnabled(true)
.mirroringEnabled(false)
.gracefulShutdownTimeout(new GracefulShutdownTimeout(0, 0))
.replication(new ZooKeeperReplicationConfig(2, servers))
.build();
com.linecorp.centraldogma.serverGracefulShutdownTimeout

Javadoc

Graceful shutdown timeout.

Most used methods

  • <init>
    Creates a new instance.
  • quietPeriodMillis
    Returns the quiet period of graceful shutdown process, in milliseconds.
  • timeoutMillis
    Returns the timeout of graceful shutdown process, in milliseconds.

Popular in Java

  • Finding current android device location
  • startActivity (Activity)
  • runOnUiThread (Activity)
  • onCreateOptionsMenu (Activity)
  • String (java.lang)
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • 21 Best Atom Packages for 2021
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now