Package org.stellar.sdk.xdr
Class StateArchivalSettings.StateArchivalSettingsBuilder
java.lang.Object
org.stellar.sdk.xdr.StateArchivalSettings.StateArchivalSettingsBuilder
- Enclosing class:
StateArchivalSettings
-
Method Summary
Modifier and TypeMethodDescriptionbuild()evictionScanSize(Uint32 evictionScanSize) Value of theevictionScanSizefield.liveSorobanStateSizeWindowSamplePeriod(Uint32 liveSorobanStateSizeWindowSamplePeriod) Value of theliveSorobanStateSizeWindowSamplePeriodfield.liveSorobanStateSizeWindowSampleSize(Uint32 liveSorobanStateSizeWindowSampleSize) Value of theliveSorobanStateSizeWindowSampleSizefield.maxEntriesToArchive(Uint32 maxEntriesToArchive) Value of themaxEntriesToArchivefield.maxEntryTTL(Uint32 maxEntryTTL) Value of themaxEntryTTLfield.minPersistentTTL(Uint32 minPersistentTTL) Value of theminPersistentTTLfield.minTemporaryTTL(Uint32 minTemporaryTTL) Value of theminTemporaryTTLfield.persistentRentRateDenominator(Int64 persistentRentRateDenominator) Value of thepersistentRentRateDenominatorfield.startingEvictionScanLevel(Uint32 startingEvictionScanLevel) Value of thestartingEvictionScanLevelfield.tempRentRateDenominator(Int64 tempRentRateDenominator) Value of thetempRentRateDenominatorfield.toString()
-
Method Details
-
maxEntryTTL
Value of themaxEntryTTLfield.- Parameters:
maxEntryTTL- themaxEntryTTLfield value- Returns:
this.
-
minTemporaryTTL
Value of theminTemporaryTTLfield.- Parameters:
minTemporaryTTL- theminTemporaryTTLfield value- Returns:
this.
-
minPersistentTTL
Value of theminPersistentTTLfield.- Parameters:
minPersistentTTL- theminPersistentTTLfield value- Returns:
this.
-
persistentRentRateDenominator
public StateArchivalSettings.StateArchivalSettingsBuilder persistentRentRateDenominator(Int64 persistentRentRateDenominator) Value of thepersistentRentRateDenominatorfield.- Parameters:
persistentRentRateDenominator- thepersistentRentRateDenominatorfield value- Returns:
this.
-
tempRentRateDenominator
public StateArchivalSettings.StateArchivalSettingsBuilder tempRentRateDenominator(Int64 tempRentRateDenominator) Value of thetempRentRateDenominatorfield.- Parameters:
tempRentRateDenominator- thetempRentRateDenominatorfield value- Returns:
this.
-
maxEntriesToArchive
public StateArchivalSettings.StateArchivalSettingsBuilder maxEntriesToArchive(Uint32 maxEntriesToArchive) Value of themaxEntriesToArchivefield.- Parameters:
maxEntriesToArchive- themaxEntriesToArchivefield value- Returns:
this.
-
liveSorobanStateSizeWindowSampleSize
public StateArchivalSettings.StateArchivalSettingsBuilder liveSorobanStateSizeWindowSampleSize(Uint32 liveSorobanStateSizeWindowSampleSize) Value of theliveSorobanStateSizeWindowSampleSizefield.- Parameters:
liveSorobanStateSizeWindowSampleSize- theliveSorobanStateSizeWindowSampleSizefield value- Returns:
this.
-
liveSorobanStateSizeWindowSamplePeriod
public StateArchivalSettings.StateArchivalSettingsBuilder liveSorobanStateSizeWindowSamplePeriod(Uint32 liveSorobanStateSizeWindowSamplePeriod) Value of theliveSorobanStateSizeWindowSamplePeriodfield.- Parameters:
liveSorobanStateSizeWindowSamplePeriod- theliveSorobanStateSizeWindowSamplePeriodfield value- Returns:
this.
-
evictionScanSize
Value of theevictionScanSizefield.- Parameters:
evictionScanSize- theevictionScanSizefield value- Returns:
this.
-
startingEvictionScanLevel
public StateArchivalSettings.StateArchivalSettingsBuilder startingEvictionScanLevel(Uint32 startingEvictionScanLevel) Value of thestartingEvictionScanLevelfield.- Parameters:
startingEvictionScanLevel- thestartingEvictionScanLevelfield value- Returns:
this.
-
build
-
toString
-