Tabnine Logo
ClientTransportBuilder.requestMemoryPool
Code IndexAdd Tabnine to your IDE (free)

How to use
requestMemoryPool
method
in
io.zeebe.transport.ClientTransportBuilder

Best Java code snippets using io.zeebe.transport.ClientTransportBuilder.requestMemoryPool (Showing top 3 results out of 315)

origin: zeebe-io/zeebe

@Override
public void start(ServiceStartContext startContext) {
 final ActorScheduler scheduler = startContext.getScheduler();
 final ClientTransportBuilder transportBuilder = Transports.newClientTransport(name);
 transport =
   transportBuilder
     .messageMemoryPool(new NonBlockingMemoryPool(messageBufferSize))
     // client transport in broker should no do any high volume interactions using
     // request/resp
     .requestMemoryPool(new UnboundedMemoryPool())
     .scheduler(scheduler)
     .build();
 if (defaultEndpoints != null) {
  // make transport open and manage channels to the default endpoints
  defaultEndpoints.forEach(s -> transport.registerEndpoint(s.getInt(), s.getRight()));
 }
}
origin: io.zeebe/zeebe-broker-core

@Override
public void start(ServiceStartContext startContext) {
 final ActorScheduler scheduler = startContext.getScheduler();
 final ClientTransportBuilder transportBuilder = Transports.newClientTransport(name);
 transport =
   transportBuilder
     .messageMemoryPool(new NonBlockingMemoryPool(messageBufferSize))
     // client transport in broker should no do any high volume interactions using
     // request/resp
     .requestMemoryPool(new UnboundedMemoryPool())
     .scheduler(scheduler)
     .build();
 if (defaultEndpoints != null) {
  // make transport open and manage channels to the default endpoints
  defaultEndpoints.forEach(s -> transport.registerEndpoint(s.getInt(), s.getRight()));
 }
}
origin: zeebe-io/zeebe

.messageMemoryPool(
  new UnboundedMemoryPool()) // Client is not sending any heavy messages
.requestMemoryPool(new NonBlockingMemoryPool(transportBufferSize))
.scheduler(actorScheduler);
.messageMaxLength(1024 * 1024)
.messageMemoryPool(new UnboundedMemoryPool())
.requestMemoryPool(new UnboundedMemoryPool())
.scheduler(actorScheduler);
io.zeebe.transportClientTransportBuilderrequestMemoryPool

Popular methods of ClientTransportBuilder

  • build
  • scheduler
  • messageMemoryPool
  • <init>
  • buildTransportContext
  • messageMaxLength
  • messageReceiveBuffer
    Optional. If set, all incoming messages (single-message protocol) are put onto the provided buffer.
  • validate

Popular in Java

  • Finding current android device location
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • scheduleAtFixedRate (ScheduledExecutorService)
  • putExtra (Intent)
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Enumeration (java.util)
    A legacy iteration interface.New code should use Iterator instead. Iterator replaces the enumeration
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • JCheckBox (javax.swing)
  • JPanel (javax.swing)
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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