congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
TCPNIOTransport.getAsyncQueueIO
Code IndexAdd Tabnine to your IDE (free)

How to use
getAsyncQueueIO
method
in
org.glassfish.grizzly.nio.transport.TCPNIOTransport

Best Java code snippets using org.glassfish.grizzly.nio.transport.TCPNIOTransport.getAsyncQueueIO (Showing top 20 results out of 315)

origin: javaee/grizzly

/**
 * The maximum size, in bytes, of all data waiting to be written to the associated {@link Connection}.
 * If the value is zero or less, then no resource enforcement will take place.
 *
 * @param maxPendingBytes the maximum size, in bytes, of all data waiting to be written to the associated {@link
 * Connection}.
 */
public void setMaxPendingBytes(int maxPendingBytes) {
  this.maxPendingBytes = maxPendingBytes;
  transport.getAsyncQueueIO().getWriter().setMaxPendingBytesPerConnection(maxPendingBytes);
  }
origin: javaee/grizzly

/**
 * The maximum size, in bytes, of all data waiting to be written to the associated {@link Connection}.
 * If the value is zero or less, then no resource enforcement will take place.
 *
 * @param maxPendingBytes the maximum size, in bytes, of all data waiting to be written to the associated {@link
 * Connection}.
 */
public void setMaxPendingBytes(int maxPendingBytes) {
  this.maxPendingBytes = maxPendingBytes;
  transport.getAsyncQueueIO().getWriter().setMaxPendingBytesPerConnection(maxPendingBytes);
  }
origin: org.mule.glassfish.grizzly/grizzly-http-server

/**
 * The maximum size, in bytes, of all data waiting to be written to the associated {@link Connection}.
 * If the value is zero or less, then no resource enforcement will take place.
 *
 * @param maxPendingBytes the maximum size, in bytes, of all data waiting to be written to the associated {@link
 * Connection}.
 */
public void setMaxPendingBytes(int maxPendingBytes) {
  this.maxPendingBytes = maxPendingBytes;
  transport.getAsyncQueueIO().getWriter().setMaxPendingBytesPerConnection(maxPendingBytes);
  }
origin: org.glassfish.grizzly/grizzly-websockets-server

/**
 * The maximum size, in bytes, of all data waiting to be written to the associated {@link Connection}.
 * If the value is zero or less, then no resource enforcement will take place.
 *
 * @param maxPendingBytes the maximum size, in bytes, of all data waiting to be written to the associated {@link
 * Connection}.
 */
public void setMaxPendingBytes(int maxPendingBytes) {
  this.maxPendingBytes = maxPendingBytes;
  transport.getAsyncQueueIO().getWriter().setMaxPendingBytesPerConnection(maxPendingBytes);
  }
origin: javaee/grizzly

/**
 * The maximum size, in bytes, of all data waiting to be written to the associated {@link Connection}.
 * If the value is zero or less, then no resource enforcement will take place.
 *
 * @param maxPendingBytes the maximum size, in bytes, of all data waiting to be written to the associated {@link
 * Connection}.
 */
public void setMaxPendingBytes(int maxPendingBytes) {
  this.maxPendingBytes = maxPendingBytes;
  transport.getAsyncQueueIO().getWriter().setMaxPendingBytesPerConnection(maxPendingBytes);
  }
origin: javaee/grizzly

/**
 * The maximum size, in bytes, of all data waiting to be written to the associated {@link Connection}.
 * If the value is zero or less, then no resource enforcement will take place.
 *
 * @param maxPendingBytes the maximum size, in bytes, of all data waiting to be written to the associated {@link
 * Connection}.
 */
public void setMaxPendingBytes(int maxPendingBytes) {
  this.maxPendingBytes = maxPendingBytes;
  transport.getAsyncQueueIO().getWriter().setMaxPendingBytesPerConnection(maxPendingBytes);
  }
origin: javaee/grizzly

/**
 * {@inheritDoc}
 */
@Override
public Reader<SocketAddress> getReader(final boolean isBlocking) {
  if (isBlocking) {
    return getTemporarySelectorIO().getReader();
  } else {
    return getAsyncQueueIO().getReader();
  }
}
origin: javaee/grizzly

/**
 * {@inheritDoc}
 */
@Override
public Writer<SocketAddress> getWriter(final boolean isBlocking) {
  if (isBlocking) {
    return getTemporarySelectorIO().getWriter();
  } else {
    return getAsyncQueueIO().getWriter();
  }
}
origin: javaee/grizzly

/**
 * {@inheritDoc}
 */
@Override
public Reader<SocketAddress> getReader(final boolean isBlocking) {
  if (isBlocking) {
    return getTemporarySelectorIO().getReader();
  } else {
    return getAsyncQueueIO().getReader();
  }
}
origin: javaee/grizzly

/**
 * {@inheritDoc}
 */
@Override
public Writer<SocketAddress> getWriter(final boolean isBlocking) {
  if (isBlocking) {
    return getTemporarySelectorIO().getWriter();
  } else {
    return getAsyncQueueIO().getWriter();
  }
}
origin: org.mule.glassfish.grizzly/grizzly-framework

/**
 * {@inheritDoc}
 */
@Override
public Writer<SocketAddress> getWriter(final boolean isBlocking) {
  if (isBlocking) {
    return getTemporarySelectorIO().getWriter();
  } else {
    return getAsyncQueueIO().getWriter();
  }
}
origin: org.glassfish.grizzly/grizzly-http-server-core

/**
 * {@inheritDoc}
 */
@Override
public Reader<SocketAddress> getReader(final boolean isBlocking) {
  if (isBlocking) {
    return getTemporarySelectorIO().getReader();
  } else {
    return getAsyncQueueIO().getReader();
  }
}
origin: org.glassfish.grizzly/grizzly-websockets-server

/**
 * {@inheritDoc}
 */
@Override
public Reader<SocketAddress> getReader(final boolean isBlocking) {
  if (isBlocking) {
    return getTemporarySelectorIO().getReader();
  } else {
    return getAsyncQueueIO().getReader();
  }
}
origin: javaee/grizzly

/**
 * {@inheritDoc}
 */
@Override
public Reader<SocketAddress> getReader(final boolean isBlocking) {
  if (isBlocking) {
    return getTemporarySelectorIO().getReader();
  } else {
    return getAsyncQueueIO().getReader();
  }
}
origin: javaee/grizzly

/**
 * {@inheritDoc}
 */
@Override
public Writer<SocketAddress> getWriter(final boolean isBlocking) {
  if (isBlocking) {
    return getTemporarySelectorIO().getWriter();
  } else {
    return getAsyncQueueIO().getWriter();
  }
}
origin: javaee/grizzly

/**
 * {@inheritDoc}
 */
@Override
public Reader<SocketAddress> getReader(final boolean isBlocking) {
  if (isBlocking) {
    return getTemporarySelectorIO().getReader();
  } else {
    return getAsyncQueueIO().getReader();
  }
}
origin: javaee/grizzly

/**
 * {@inheritDoc}
 */
@Override
public Writer<SocketAddress> getWriter(final boolean isBlocking) {
  if (isBlocking) {
    return getTemporarySelectorIO().getWriter();
  } else {
    return getAsyncQueueIO().getWriter();
  }
}
origin: org.mule.glassfish.grizzly/grizzly-framework

/**
 * {@inheritDoc}
 */
@Override
public Reader<SocketAddress> getReader(final boolean isBlocking) {
  if (isBlocking) {
    return getTemporarySelectorIO().getReader();
  } else {
    return getAsyncQueueIO().getReader();
  }
}
origin: org.glassfish.grizzly/grizzly-websockets-server

/**
 * {@inheritDoc}
 */
@Override
public Writer<SocketAddress> getWriter(final boolean isBlocking) {
  if (isBlocking) {
    return getTemporarySelectorIO().getWriter();
  } else {
    return getAsyncQueueIO().getWriter();
  }
}
origin: com.ning/async-http-client

clientTransport.getAsyncQueueIO().getWriter()
        .setMaxPendingBytesPerConnection(AsyncQueueWriter.AUTO_SIZE);
org.glassfish.grizzly.nio.transportTCPNIOTransportgetAsyncQueueIO

Popular methods of TCPNIOTransport

  • start
  • bind
  • setProcessor
  • shutdownNow
  • isStopped
  • setTcpNoDelay
  • setLinger
  • unbind
  • getProcessor
  • getServerConnectionBackLog
    Get the default server connection backlog size.
  • setIOStrategy
  • setKeepAlive
  • setIOStrategy,
  • setKeepAlive,
  • setSelectorRunnersCount,
  • setServerConnectionBackLog,
  • shutdown,
  • connect,
  • getLinger,
  • isKeepAlive,
  • isTcpNoDelay

Popular in Java

  • Running tasks concurrently on multiple threads
  • compareTo (BigDecimal)
  • addToBackStack (FragmentTransaction)
  • getApplicationContext (Context)
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • Reference (javax.naming)
  • Top Sublime Text plugins
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