Interface Transport

    • Method Detail

      • getAcceptorThreads

        String getAcceptorThreads()
        The number of acceptor threads listening for the transport's events
      • setAcceptorThreads

        void setAcceptorThreads​(String value)
      • getSocketWriteBufferSize

        String getSocketWriteBufferSize()
        The size, in bytes, of the socket send buffer size. If the value is 0 or less, it defaults to the VM's default value.
      • setSocketWriteBufferSize

        void setSocketWriteBufferSize()
      • getSocketReadBufferSize

        String getSocketReadBufferSize()
        The size, in bytes, of the socket send buffer size. If the value is 0 or less, it defaults to the VM's default value.
      • setSocketReadBufferSize

        void setSocketReadBufferSize()
      • getBufferSizeBytes

        @Deprecated
        String getBufferSizeBytes()
        Deprecated.
        This attribute is now ignored. Use socket-send-Buffer-size and/or socket-write-buffer-size instead.
      • setBufferSizeBytes

        void setBufferSizeBytes​(String size)
      • getByteBufferType

        @Pattern(regexp="heap|direct",
                 flags=CASE_INSENSITIVE)
        @Pattern(regexp="heap|direct",flags=CASE_INSENSITIVE) String getByteBufferType()
        Type of ByteBuffer, which will be used with transport. Possible values are: HEAP and DIRECT
      • setByteBufferType

        void setByteBufferType​(String value)
      • getClassname

        String getClassname()
        Name of class, which implements transport logic
      • setClassname

        void setClassname​(String value)
      • getIoStrategy

        String getIoStrategy()
        IOStrategy to be used by Transport.
      • setIoStrategy

        void setIoStrategy​(String ioStrategy)
      • getDisplayConfiguration

        String getDisplayConfiguration()
        Flush Grizzly's internal configuration to the server logs (like number of threads created, how many polled objects, etc.)
      • setDisplayConfiguration

        void setDisplayConfiguration​(String bool)
      • getIdleKeyTimeoutSeconds

        String getIdleKeyTimeoutSeconds()
        Timeout, after which idle key will be cancelled and channel closed
      • setIdleKeyTimeoutSeconds

        void setIdleKeyTimeoutSeconds​(String value)
      • getMaxConnectionsCount

        String getMaxConnectionsCount()
        The max number of connections the transport should handle at the same time
      • setMaxConnectionsCount

        void setMaxConnectionsCount​(String value)
      • getName

        String getName()
        Transport's name, which could be used as reference
      • setName

        void setName​(String value)
      • getReadTimeoutMillis

        String getReadTimeoutMillis()
        Read operation timeout in ms
      • setReadTimeoutMillis

        void setReadTimeoutMillis​(String value)
      • getSelectionKeyHandler

        @Deprecated
        String getSelectionKeyHandler()
        Deprecated.
        This attribute as well as the named selection-key-handler element this attribute refers to has been deprecated and is effectively ignored by the runtime. No equivalent functionality is available.
        Use public SelectionKey handler, which was defined earlier in the document.
      • setSelectionKeyHandler

        void setSelectionKeyHandler​(String value)
      • getSelectorPollTimeoutMillis

        String getSelectorPollTimeoutMillis()
        The time, in milliseconds, a NIO Selector will block waiting for events (users requests).
      • setSelectorPollTimeoutMillis

        void setSelectorPollTimeoutMillis​(String timeout)
      • getWriteTimeoutMillis

        String getWriteTimeoutMillis()
        Write operation timeout in ms
      • setWriteTimeoutMillis

        void setWriteTimeoutMillis​(String value)
      • getTcpNoDelay

        String getTcpNoDelay()
      • setTcpNoDelay

        void setTcpNoDelay​(String noDelay)
      • getLinger

        String getLinger()
      • setLinger

        void setLinger​(String linger)
      • getDedicatedAcceptorEnabled

        String getDedicatedAcceptorEnabled()
      • setDedicatedAcceptorEnabled

        void setDedicatedAcceptorEnabled​(String isEnabled)
      • getParent

        @DuckTyped
        Transports getParent()
        Description copied from interface: ConfigBeanProxy
        Returns the parent element of this configuration element. It is possible to return a not null parent while the parent knows nothing of this child element. This could happen when the child element was removed from the configuration tree, yet it's parent would not have been reset.
        Specified by:
        getParent in interface ConfigBeanProxy
        Returns:
        the parent configuration node.