public class PartitionTemplateImpl extends Object implements PartitionTemplate, org.springframework.beans.factory.BeanNameAware
| Constructor and Description |
|---|
PartitionTemplateImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
activeTable() |
void |
onRolling() |
String |
previousTable() |
List<String> |
reversedTables() |
void |
setBeanName(String name) |
void |
setCallbackClass(Class<? extends PartitionCallback> callbackClass) |
void |
setCallbacks(PartitionCallback... callbacks) |
void |
setGroupSize(int groupSize) |
void |
setSizeThreshold(long sizeThreshold) |
void |
setTimeThreshold(long timeThreshold) |
String |
toString() |
public String activeTable()
activeTable in interface PartitionTemplatepublic String previousTable()
previousTable in interface PartitionTemplatepublic List<String> reversedTables()
reversedTables in interface PartitionTemplatepublic void onRolling()
onRolling in interface PartitionTemplatepublic void setBeanName(String name)
setBeanName in interface org.springframework.beans.factory.BeanNameAwarepublic void setGroupSize(int groupSize)
public void setTimeThreshold(long timeThreshold)
public void setSizeThreshold(long sizeThreshold)
public void setCallbacks(PartitionCallback... callbacks)
public void setCallbackClass(Class<? extends PartitionCallback> callbackClass)
Copyright © 2022. All rights reserved.