public void onDisableTenant() { destroy(); }
@Override public void init() { getTenantContentStore(); }
public void onEnableTenant() { init(); }
try String rootDir = getRootLocation(); Tenant tenant = tenantService.getTenant(tenantDomain); if (tenant != null && tenant.getRootContentStoreDir() != null) cs = initContentStore(applicationContext, rootDir); cache.put(tenantDomain, cs); return cs;
@Override public void afterRollback() { checkStores(fileContentStore.getAllStores()); } }
try String rootDir = getRootLocation(); Tenant tenant = tenantService.getTenant(tenantDomain); if (tenant != null && tenant.getRootContentStoreDir() != null) cs = initContentStore(applicationContext, rootDir); cache.put(tenantDomain, cs); return cs;
@Override public void init() { getTenantContentStore(); }
public void onEnableTenant() { init(); }
public void onDisableTenant() { destroy(); }
@Override public long getSpaceFree() { ContentStore x = getTenantContentStore(); if(x != null) { return x.getSpaceFree(); } else { return -1; } }
@Override public long getSpaceTotal() { ContentStore x = getTenantContentStore(); if(x != null) { return x.getSpaceTotal(); } else { return -1; } }
@Override public long getSpaceFree() { ContentStore x = getTenantContentStore(); if(x != null) { return x.getSpaceFree(); } else { return -1; } }
@Override public long getSpaceTotal() { ContentStore x = getTenantContentStore(); if(x != null) { return x.getSpaceTotal(); } else { return -1; } }
ContentStore cs = getTenantContentStore();
ContentStore cs = getTenantContentStore();