|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wso2.carbon.deployment.synchronizer.git.TenantGitRepositoryContextCache
public class TenantGitRepositoryContextCache
| Method Summary | |
|---|---|
void |
cacheTenantGitRepoContext(int tenantId,
TenantGitRepositoryContext gitRepoCtx)
Caches the TenantGitRepositoryContext instance for the tenant |
static TenantGitRepositoryContextCache |
getTenantRepositoryContextCache()
Access method for TenantGitRepositoryContextCache singleton instance |
void |
removeCachedTenantGitContext(int tenantId)
Remove the cached TenantGitRepositoryContext instance for a tenant |
TenantGitRepositoryContext |
retrieveCachedTenantGitContext(int tenantId)
Retrieve the cached TenantGitRepositoryContext instance for a tenant |
void |
updateTenantGitRepositoryContext(int tenantId,
TenantGitRepositoryContext gitRepoCtx)
Update the cached TenantGitRepositoryContext instance for a tenant |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static TenantGitRepositoryContextCache getTenantRepositoryContextCache()
public void cacheTenantGitRepoContext(int tenantId,
TenantGitRepositoryContext gitRepoCtx)
tenantId - tenant IdgitRepoCtx - TenantGitRepositoryContext instancepublic TenantGitRepositoryContext retrieveCachedTenantGitContext(int tenantId)
tenantId - tenant Id
public void updateTenantGitRepositoryContext(int tenantId,
TenantGitRepositoryContext gitRepoCtx)
tenantId - tenant IdgitRepoCtx - the cached TenantGitRepositoryContext instance to updatepublic void removeCachedTenantGitContext(int tenantId)
tenantId - tenant Id
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||