gpt4 book ai didi

io.undertow.server.XnioByteBufferPool类的使用及代码示例

转载 作者:知者 更新时间:2024-03-19 15:10:40 28 4
gpt4 key购买 nike

本文整理了Java中io.undertow.server.XnioByteBufferPool类的一些代码示例,展示了XnioByteBufferPool类的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XnioByteBufferPool类的具体详情如下:
包路径:io.undertow.server.XnioByteBufferPool
类名称:XnioByteBufferPool

XnioByteBufferPool介绍

暂无

代码示例

代码示例来源:origin: wildfly/wildfly

public AlpnOpenListener(Pool<ByteBuffer> bufferPool, OptionMap undertowOptions, String fallbackProtocol, DelegateOpenListener fallbackListener) {
  this(new XnioByteBufferPool(bufferPool), undertowOptions, fallbackProtocol, fallbackListener);
}

代码示例来源:origin: wildfly/wildfly

public AjpOpenListener(final Pool<ByteBuffer> pool, final OptionMap undertowOptions) {
  this(new XnioByteBufferPool(pool), undertowOptions);
}

代码示例来源:origin: wildfly/wildfly

@Deprecated
public Http2OpenListener(final Pool<ByteBuffer> pool, final OptionMap undertowOptions, String protocol) {
  this(new XnioByteBufferPool(pool), undertowOptions, protocol);
}

代码示例来源:origin: wildfly/wildfly

@Deprecated
public HttpOpenListener(final Pool<ByteBuffer> pool, final OptionMap undertowOptions) {
  this(new XnioByteBufferPool(pool), undertowOptions);
}

代码示例来源:origin: wildfly/wildfly

@Deprecated
public StringReadChannelListener(final Pool<ByteBuffer> bufferPool) {
  this.bufferPool = new XnioByteBufferPool(bufferPool);
}

代码示例来源:origin: io.undertow/undertow-core

public AlpnOpenListener(Pool<ByteBuffer> bufferPool, OptionMap undertowOptions, String fallbackProtocol, DelegateOpenListener fallbackListener) {
  this(new XnioByteBufferPool(bufferPool), undertowOptions, fallbackProtocol, fallbackListener);
}

代码示例来源:origin: io.undertow/undertow-core

public AjpOpenListener(final Pool<ByteBuffer> pool, final OptionMap undertowOptions) {
  this(new XnioByteBufferPool(pool), undertowOptions);
}

代码示例来源:origin: org.jboss.eap/wildfly-client-all

public AlpnOpenListener(Pool<ByteBuffer> bufferPool, OptionMap undertowOptions, String fallbackProtocol, DelegateOpenListener fallbackListener) {
  this(new XnioByteBufferPool(bufferPool), undertowOptions, fallbackProtocol, fallbackListener);
}

代码示例来源:origin: org.jboss.eap/wildfly-client-all

public AjpOpenListener(final Pool<ByteBuffer> pool, final OptionMap undertowOptions) {
  this(new XnioByteBufferPool(pool), undertowOptions);
}

代码示例来源:origin: io.undertow/undertow-core

@Deprecated
public StringReadChannelListener(final Pool<ByteBuffer> bufferPool) {
  this.bufferPool = new XnioByteBufferPool(bufferPool);
}

代码示例来源:origin: org.jboss.eap/wildfly-client-all

@Deprecated
public HttpOpenListener(final Pool<ByteBuffer> pool, final OptionMap undertowOptions) {
  this(new XnioByteBufferPool(pool), undertowOptions);
}

代码示例来源:origin: io.undertow/undertow-core

@Deprecated
public Http2OpenListener(final Pool<ByteBuffer> pool, final OptionMap undertowOptions, String protocol) {
  this(new XnioByteBufferPool(pool), undertowOptions, protocol);
}

代码示例来源:origin: io.undertow/undertow-core

@Deprecated
public HttpOpenListener(final Pool<ByteBuffer> pool, final OptionMap undertowOptions) {
  this(new XnioByteBufferPool(pool), undertowOptions);
}

代码示例来源:origin: org.jboss.eap/wildfly-client-all

@Deprecated
public Http2OpenListener(final Pool<ByteBuffer> pool, final OptionMap undertowOptions, String protocol) {
  this(new XnioByteBufferPool(pool), undertowOptions, protocol);
}

代码示例来源:origin: org.jboss.eap/wildfly-client-all

@Deprecated
public StringReadChannelListener(final Pool<ByteBuffer> bufferPool) {
  this.bufferPool = new XnioByteBufferPool(bufferPool);
}

代码示例来源:origin: wildfly/wildfly-core

@Override
public void start(StartContext startContext) throws StartException {
  byteBufferPool = new XnioByteBufferPool(bufferPool.getValue());
}

代码示例来源:origin: org.wildfly.core/wildfly-io

@Override
public void start(StartContext startContext) throws StartException {
  byteBufferPool = new XnioByteBufferPool(bufferPool.getValue());
}

代码示例来源:origin: hawkular/hawkular-metrics

return new XnioByteBufferPool(pool);

代码示例来源:origin: arquillian/arquillian-cube

public PortForwardOpenListener(ClientConnection masterPortForwardConnection, final String urlPath,
  final int targetPort, final AtomicInteger requestId, final Pool<ByteBuffer> pool,
  final OptionMap undertowOptions) {
  this.masterPortForwardConnection = masterPortForwardConnection;
  this.urlPath = urlPath;
  this.targetPort = targetPort;
  this.requestId = requestId;
  this.undertowOptions = undertowOptions;
  this.bufferPool = new XnioByteBufferPool(pool);
  Pooled<ByteBuffer> buf = pool.allocate();
  this.bufferSize = buf.getResource().remaining();
  buf.free();
}

代码示例来源:origin: org.arquillian.cube/arquillian-cube-kubernetes

public PortForwardOpenListener(ClientConnection masterPortForwardConnection, final String urlPath,
  final int targetPort, final AtomicInteger requestId, final Pool<ByteBuffer> pool,
  final OptionMap undertowOptions) {
  this.masterPortForwardConnection = masterPortForwardConnection;
  this.urlPath = urlPath;
  this.targetPort = targetPort;
  this.requestId = requestId;
  this.undertowOptions = undertowOptions;
  this.bufferPool = new XnioByteBufferPool(pool);
  Pooled<ByteBuffer> buf = pool.allocate();
  this.bufferSize = buf.getResource().remaining();
  buf.free();
}

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com