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() |
Boolean |
getRollingTokens() |
String |
getType() |
void |
setLastHistoryTokens(Integer lastHistoryTokens) |
void |
setRollingTokens(Boolean rollingTokens) |
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 static TruncationStrategy.Builder builder()
Copyright © 2025. All rights reserved.