Class PerformanceBasedAutotunePolicy
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.core.model.AutotunePolicy
-
- com.oracle.bmc.core.model.PerformanceBasedAutotunePolicy
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class PerformanceBasedAutotunePolicy extends AutotunePolicy
If a volume is being throttled at the current setting for a certain period of time, auto-tune will gradually increase the volume\u2019s performance limited up to Maximum VPUs/GB.After the volume has been idle at the current setting for a certain period of time, auto-tune will gradually decrease the volume\u2019s performance limited down to Default/Minimum VPUs/GB.
Note: Objects should always be created or deserialized using thePerformanceBasedAutotunePolicy.Builder
. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of thePerformanceBasedAutotunePolicy.Builder
, which maintain a set of all explicitly set fields calledPerformanceBasedAutotunePolicy.Builder.__explicitlySet__
. ThehashCode()
andequals(Object)
methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PerformanceBasedAutotunePolicy.Builder
-
Nested classes/interfaces inherited from class com.oracle.bmc.core.model.AutotunePolicy
AutotunePolicy.AutotuneType
-
-
Constructor Summary
Constructors Constructor Description PerformanceBasedAutotunePolicy(Long maxVpusPerGB)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PerformanceBasedAutotunePolicy.Builder
builder()
Create a new builder.boolean
equals(Object o)
Long
getMaxVpusPerGB()
This will be the maximum VPUs/GB performance level that the volume will be auto-tuned temporarily based on performance monitoring.int
hashCode()
PerformanceBasedAutotunePolicy.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
PerformanceBasedAutotunePolicy
@Deprecated public PerformanceBasedAutotunePolicy(Long maxVpusPerGB)
Deprecated.
-
-
Method Detail
-
builder
public static PerformanceBasedAutotunePolicy.Builder builder()
Create a new builder.
-
toBuilder
public PerformanceBasedAutotunePolicy.Builder toBuilder()
-
getMaxVpusPerGB
public Long getMaxVpusPerGB()
This will be the maximum VPUs/GB performance level that the volume will be auto-tuned temporarily based on performance monitoring.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classAutotunePolicy
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toString
in classAutotunePolicy
- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classAutotunePolicy
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classAutotunePolicy
-
-