Class MaxConcurrentConnectionsServiceDescriptor

  • All Implemented Interfaces:
    com.jscape.util.db.IntVersioned, java.io.Serializable

    public class MaxConcurrentConnectionsServiceDescriptor
    extends ServiceDescriptor
    Concurrent connection service descriptor. The service described by this descriptor takes responsibility for limiting server access.
    Author:
    Alex Usun
    See Also:
    Serialized Form
    • Constructor Detail

      • MaxConcurrentConnectionsServiceDescriptor

        public MaxConcurrentConnectionsServiceDescriptor​(java.lang.Integer value,
                                                         int version)
        Creates a new descriptor instance.
        Parameters:
        value - max concurrent connections
      • MaxConcurrentConnectionsServiceDescriptor

        public MaxConcurrentConnectionsServiceDescriptor()
        This constructor is used by serialization sub-system and is not intended to use directly in client code.
    • Method Detail

      • getValue

        public java.lang.Integer getValue()
        Returns max concurrent connections.
        Returns:
        max concurrent connections
      • setValue

        public void setValue​(java.lang.Integer value)
        Sets max concurrent connections.
        Parameters:
        value - max concurrent connections
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object