Class DbEnvDescriptor

java.lang.Object
com.zeroc.IceGrid.DbEnvDescriptor
All Implemented Interfaces:
Serializable, Cloneable

public final class DbEnvDescriptor extends Object implements Cloneable, Serializable
A Freeze database environment descriptor (deprecated, no longer used).
See Also:
  • Field Details

    • name

      public String name
      The name of the database environment.
    • description

      public String description
      The description of this database environment.
    • dbHome

      public String dbHome
      The home of the database environment.
    • properties

      public List<PropertyDescriptor> properties
      The configuration properties of the database environment.
  • Constructor Details

    • DbEnvDescriptor

      public DbEnvDescriptor()
      Constructs a DbEnvDescriptor.
    • DbEnvDescriptor

      public DbEnvDescriptor(String name, String description, String dbHome, List<PropertyDescriptor> properties)
      Constructs a DbEnvDescriptor with values for all its fields.
      Parameters:
      name - The name of the database environment.
      description - The description of this database environment.
      dbHome - The home of the database environment.
      properties - The configuration properties of the database environment.
  • Method Details

    • equals

      public boolean equals(Object rhs)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public DbEnvDescriptor clone()
      Overrides:
      clone in class Object
    • ice_writeMembers

      public void ice_writeMembers(OutputStream ostr)
      Marshals this object's fields into an output stream.
      Parameters:
      ostr - the output stream
    • ice_readMembers

      public void ice_readMembers(InputStream istr)
      Unmarshals and sets this object's fields from an input stream.
      Parameters:
      istr - the input stream
    • ice_write

      public static void ice_write(OutputStream ostr, DbEnvDescriptor v)
      Marshals a DbEnvDescriptor into an output stream.
      Parameters:
      ostr - the output stream
      v - the DbEnvDescriptor to marshal; can be null
    • ice_read

      public static DbEnvDescriptor ice_read(InputStream istr)
      Unmarshals a DbEnvDescriptor from an input stream.
      Parameters:
      istr - the input stream
      Returns:
      the unmarshaled DbEnvDescriptor
    • ice_write

      public static void ice_write(OutputStream ostr, int tag, Optional<DbEnvDescriptor> v)
      Marshals an optional DbEnvDescriptor into an output stream.
      Parameters:
      ostr - the output stream
      tag - the tag
      v - the value to marshal
    • ice_write

      public static void ice_write(OutputStream ostr, int tag, DbEnvDescriptor v)
      Marshals an optional DbEnvDescriptor into an output stream.
      Parameters:
      ostr - the output stream
      tag - the tag
      v - the value to marshal
    • ice_read

      public static Optional<DbEnvDescriptor> ice_read(InputStream istr, int tag)
      Unmarshals an optional DbEnvDescriptor from an input stream.
      Parameters:
      istr - the input stream
      tag - the tag
      Returns:
      the unmarshaled value