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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanintThe maximum size of the Kryo cached instance pool.inthashCode()voidsetKryoPoolMaxSize(int kryoPoolMaxSize) The maximum size of the Kryo cached instance pool.toString()
-
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
-
canEqual
-
hashCode
public int hashCode() -
toString
-