public class TruncationStrategy extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
TruncationStrategy.Builder |
| 构造器和说明 |
|---|
TruncationStrategy() |
TruncationStrategy(String type,
Integer lastHistoryTokens) |
| 限定符和类型 | 方法和说明 |
|---|---|
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.