Class PollableOptions.ConstantPollStrategy
java.lang.Object
com.broadleafcommerce.metadata.dsl.core.extension.PollableOptions.PollStrategy<PollableOptions.ConstantPollStrategy>
com.broadleafcommerce.metadata.dsl.core.extension.PollableOptions.ConstantPollStrategy
- All Implemented Interfaces:
Copyable<PollableOptions.ConstantPollStrategy>
,Serializable
- Enclosing class:
- PollableOptions
public static class PollableOptions.ConstantPollStrategy
extends PollableOptions.PollStrategy<PollableOptions.ConstantPollStrategy>
This represents the
PollableOptions.PollStrategyType.CONSTANT
polling strategy. This
strategy applies a constant interval when polling, for example: `I = C`.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.broadleafcommerce.metadata.dsl.core.extension.PollableOptions.PollStrategy
getType
-
Constructor Details
-
ConstantPollStrategy
public ConstantPollStrategy(int interval) -
ConstantPollStrategy
-
-
Method Details
-
copy
- Returns:
- a deep copy of this instance
-
getInterval
public int getInterval() -
equals
- Overrides:
equals
in classPollableOptions.PollStrategy<PollableOptions.ConstantPollStrategy>
-
canEqual
- Overrides:
canEqual
in classPollableOptions.PollStrategy<PollableOptions.ConstantPollStrategy>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classPollableOptions.PollStrategy<PollableOptions.ConstantPollStrategy>
-