Enum NetPackage.PackageStatus

    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.lang.Enum

        java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      CONNECTION_CLOSE
      This status indicates that the transaction can be processed because the connection of the session is closed.
      IO_ERROR
      This status indicates that the transaction's process fail.
      OK
      This status indicates that the transaction finish ok.
      REJECTED_SESSION_LOCK
      En caso de que la sesion que se quiere escribir este bloqueada entonces no se puede realizar ninguna transaccion de salida.
      UNKNOWN_SESSION
      This status indicates that the transaction try to be processed over a session that doesn't exist on the server.
      WAITING
      This status indicates that the transaction are waiting in the output queue to be processed.
    • Method Summary

      Modifier and Type Method Description
      static NetPackage.PackageStatus valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static NetPackage.PackageStatus[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • WAITING

        public static final NetPackage.PackageStatus WAITING
        This status indicates that the transaction are waiting in the output queue to be processed. This is the initial state for all the transactions.
      • UNKNOWN_SESSION

        public static final NetPackage.PackageStatus UNKNOWN_SESSION
        This status indicates that the transaction try to be processed over a session that doesn't exist on the server.
      • CONNECTION_CLOSE

        public static final NetPackage.PackageStatus CONNECTION_CLOSE
        This status indicates that the transaction can be processed because the connection of the session is closed.
      • REJECTED_SESSION_LOCK

        public static final NetPackage.PackageStatus REJECTED_SESSION_LOCK
        En caso de que la sesion que se quiere escribir este bloqueada entonces no se puede realizar ninguna transaccion de salida.
      • IO_ERROR

        public static final NetPackage.PackageStatus IO_ERROR
        This status indicates that the transaction's process fail.
    • Method Detail

      • values

        public static NetPackage.PackageStatus[] values()
        Returns an array containing the constants of this enum type, in the order they are declared.
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static NetPackage.PackageStatus valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null