public class SessionVersionRepositoryService extends AbstractSnapshotProcess implements VersionRepositoryService<String>
| 构造器和说明 |
|---|
SessionVersionRepositoryService()
constructor
|
SessionVersionRepositoryService(ConcurrentHashMap<String,Long> dataCenterListVersions)
constructor
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
checkAndUpdateVersions(String dataCenterId,
Long version)
check current meta server store node Info version change,and notify other meta update dataCenter node info
|
SnapshotProcess |
copy() |
Set<String> |
getSnapshotFileNames() |
Long |
getVersion(String dataCenterId) |
boolean |
load(String path) |
boolean |
save(String path) |
load, savepublic SessionVersionRepositoryService()
public SessionVersionRepositoryService(ConcurrentHashMap<String,Long> dataCenterListVersions)
dataCenterListVersions - public SnapshotProcess copy()
copy 在接口中 SnapshotProcesspublic boolean checkAndUpdateVersions(String dataCenterId, Long version)
VersionRepositoryServicecheckAndUpdateVersions 在接口中 VersionRepositoryService<String>dataCenterId - such as dataCenterIdpublic Long getVersion(String dataCenterId)
getVersion 在接口中 VersionRepositoryService<String>public boolean save(String path)
save 在接口中 SnapshotProcesspublic boolean load(String path)
load 在接口中 SnapshotProcesspublic Set<String> getSnapshotFileNames()
getSnapshotFileNames 在接口中 SnapshotProcessCopyright © 2019 The Ant Financial. All rights reserved.