Class ObjectDeepCopyUtilityProperties

java.lang.Object
com.broadleafcommerce.catalog.service.autoconfigure.ObjectDeepCopyUtilityProperties

@ConfigurationProperties("broadleaf.catalog.object-deep-copy-util") public class ObjectDeepCopyUtilityProperties extends Object
Properties configuring ObjectDeepCopyUtility.
  • Constructor Details

    • ObjectDeepCopyUtilityProperties

      public ObjectDeepCopyUtilityProperties()
  • Method Details

    • getKryoPoolMaxSize

      public int getKryoPoolMaxSize()
      The maximum size of the Kryo cached instance pool. Note - this drives how many instances are cached for reuse. It is NOT a hard concurrency limit. The pooling implementation tries to use cached instances when possible, but if the pool is fully busy/saturated, it will create a net new Kryo instance and proceed with it instead of blocking for a cached value.
    • setKryoPoolMaxSize

      public void setKryoPoolMaxSize(int kryoPoolMaxSize)
      The maximum size of the Kryo cached instance pool. Note - this drives how many instances are cached for reuse. It is NOT a hard concurrency limit. The pooling implementation tries to use cached instances when possible, but if the pool is fully busy/saturated, it will create a net new Kryo instance and proceed with it instead of blocking for a cached value.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object