- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中io.undertow.server.XnioByteBufferPool
类的一些代码示例,展示了XnioByteBufferPool
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XnioByteBufferPool
类的具体详情如下:
包路径:io.undertow.server.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();
}
本文整理了Java中io.undertow.server.XnioByteBufferPool.()方法的一些代码示例,展示了XnioByteBufferPool.()的具体用法。这些代码示例主要来源
我是一名优秀的程序员,十分优秀!