public abstract class UnitPathGenerator extends java.lang.Object implements OrgCacheUtils.SupportBatchUpdate
限定符和类型 | 字段和说明 |
---|---|
protected static int |
INDEX_INIT |
protected static int |
INDEX_MAX |
构造器和说明 |
---|
UnitPathGenerator() |
限定符和类型 | 方法和说明 |
---|---|
java.lang.String |
generate(java.lang.String parentPath)
通过父级路径生成子路径
|
protected abstract int |
getChildPathIndex(java.lang.String parentPath)
通过父级路径获取子path的顺序号
|
static UnitPathGenerator |
getGenerator()
spring factory-method生成方法
|
abstract void |
invalidateAfterCommit(java.lang.String path)
失效对应数据的Path生成器
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
finishBatchAction, getOrder
protected static final int INDEX_INIT
protected static final int INDEX_MAX
public java.lang.String generate(java.lang.String parentPath)
parentPath
- public abstract void invalidateAfterCommit(java.lang.String path)
path
- 对应的pathprotected abstract int getChildPathIndex(java.lang.String parentPath)
parentPath
- public static UnitPathGenerator getGenerator()