public class TruncationStrategy extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TruncationStrategy.Builder |
| Constructor and Description |
|---|
TruncationStrategy() |
TruncationStrategy(String type,
Integer lastHistoryTokens) |
| Modifier and Type | Method and Description |
|---|---|
static TruncationStrategy.Builder |
builder() |
Integer |
getLastHistoryTokens() |
Integer |
getMaxWindowTokens() |
Boolean |
getRollingTokens() |
Integer |
getRollingWindowTokens() |
String |
getType() |
void |
setLastHistoryTokens(Integer lastHistoryTokens) |
void |
setMaxWindowTokens(Integer maxWindowTokens) |
void |
setRollingTokens(Boolean rollingTokens) |
void |
setRollingWindowTokens(Integer rollingWindowTokens) |
void |
setType(String type) |
String |
toString() |
public String getType()
public void setType(String type)
public Integer getLastHistoryTokens()
public void setLastHistoryTokens(Integer lastHistoryTokens)
public Boolean getRollingTokens()
public void setRollingTokens(Boolean rollingTokens)
public Integer getMaxWindowTokens()
public void setMaxWindowTokens(Integer maxWindowTokens)
public Integer getRollingWindowTokens()
public void setRollingWindowTokens(Integer rollingWindowTokens)
public static TruncationStrategy.Builder builder()
Copyright © 2025. All rights reserved.