public class SingletonRepository<T> extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SingletonRepository.DataIdGroupIdCache
DataId和Group的缓存。
|
| Constructor and Description |
|---|
SingletonRepository() |
| Modifier and Type | Method and Description |
|---|---|
T |
getSingleton(T obj) |
void |
remove(Object obj)
必须小心使用。
|
int |
size() |
Copyright © 2018–2019 Alibaba Group. All rights reserved.