Merge "Bump dependencies to latest stable versions"
This commit is contained in:
commit
dd187ce27f
@ -192,7 +192,7 @@ limitations under the License.
|
|||||||
<configuration>
|
<configuration>
|
||||||
<module>com.google.gerrit.GerritGwtUI</module>
|
<module>com.google.gerrit.GerritGwtUI</module>
|
||||||
<extraJvmArgs>-Xmx512m</extraJvmArgs>
|
<extraJvmArgs>-Xmx512m</extraJvmArgs>
|
||||||
<soyc>${gwt.soyc}</soyc>
|
<compileReport>${gwt.compileReport}</compileReport>
|
||||||
<disableClassMetadata>true</disableClassMetadata>
|
<disableClassMetadata>true</disableClassMetadata>
|
||||||
<disableCastChecking>true</disableCastChecking>
|
<disableCastChecking>true</disableCastChecking>
|
||||||
</configuration>
|
</configuration>
|
||||||
|
@ -258,7 +258,7 @@ public class Init extends SiteProgram {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void start() throws IOException {
|
void start() throws Exception {
|
||||||
if (flags.autoStart) {
|
if (flags.autoStart) {
|
||||||
if (HostPlatform.isWin32()) {
|
if (HostPlatform.isWin32()) {
|
||||||
System.err.println("Automatic startup not supported on Win32.");
|
System.err.println("Automatic startup not supported on Win32.");
|
||||||
|
@ -33,11 +33,11 @@ public class Browser {
|
|||||||
this.cfg = cfg;
|
this.cfg = cfg;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void open() throws IOException {
|
public void open() throws Exception {
|
||||||
open(null /* root page */);
|
open(null /* root page */);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void open(final String link) throws IOException {
|
public void open(final String link) throws Exception {
|
||||||
String url = cfg.getString("httpd", null, "listenUrl");
|
String url = cfg.getString("httpd", null, "listenUrl");
|
||||||
if (url == null) {
|
if (url == null) {
|
||||||
return;
|
return;
|
||||||
|
@ -22,7 +22,6 @@ import com.google.gerrit.server.config.ConfigUtil;
|
|||||||
import com.google.gerrit.server.config.GerritServerConfig;
|
import com.google.gerrit.server.config.GerritServerConfig;
|
||||||
import com.google.gerrit.server.config.SitePaths;
|
import com.google.gerrit.server.config.SitePaths;
|
||||||
import com.google.inject.Inject;
|
import com.google.inject.Inject;
|
||||||
import com.google.inject.ProvisionException;
|
|
||||||
import com.google.inject.Singleton;
|
import com.google.inject.Singleton;
|
||||||
|
|
||||||
import net.sf.ehcache.CacheManager;
|
import net.sf.ehcache.CacheManager;
|
||||||
@ -143,9 +142,12 @@ public class CachePool {
|
|||||||
|
|
||||||
c.setMaxElementsInMemory(getInt(name, "memorylimit", p.memoryLimit()));
|
c.setMaxElementsInMemory(getInt(name, "memorylimit", p.memoryLimit()));
|
||||||
|
|
||||||
c.setTimeToIdleSeconds(0);
|
long ttl = getSeconds(name, "maxage", p.maxAge());
|
||||||
c.setTimeToLiveSeconds(getSeconds(name, "maxage", p.maxAge()));
|
c.setEternal(ttl == 0);
|
||||||
c.setEternal(c.getTimeToLiveSeconds() == 0);
|
if (ttl != 0) {
|
||||||
|
c.setTimeToIdleSeconds(0);
|
||||||
|
c.setTimeToLiveSeconds(ttl);
|
||||||
|
}
|
||||||
|
|
||||||
if (p.disk() && mgr.getDiskStoreConfiguration() != null) {
|
if (p.disk() && mgr.getDiskStoreConfiguration() != null) {
|
||||||
c.setMaxElementsOnDisk(getInt(name, "disklimit", p.diskLimit()));
|
c.setMaxElementsOnDisk(getInt(name, "disklimit", p.diskLimit()));
|
||||||
@ -220,8 +222,6 @@ public class CachePool {
|
|||||||
c.setMaxElementsInMemory(1024);
|
c.setMaxElementsInMemory(1024);
|
||||||
c.setMemoryStoreEvictionPolicyFromObject(MemoryStoreEvictionPolicy.LFU);
|
c.setMemoryStoreEvictionPolicyFromObject(MemoryStoreEvictionPolicy.LFU);
|
||||||
|
|
||||||
c.setTimeToIdleSeconds(0);
|
|
||||||
c.setTimeToLiveSeconds(0 /* infinite */);
|
|
||||||
c.setEternal(true);
|
c.setEternal(true);
|
||||||
|
|
||||||
if (mgr.getDiskStoreConfiguration() != null) {
|
if (mgr.getDiskStoreConfiguration() != null) {
|
||||||
@ -237,14 +237,10 @@ public class CachePool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private CacheConfiguration newCache(final String name) {
|
private CacheConfiguration newCache(final String name) {
|
||||||
try {
|
final CacheConfiguration c;
|
||||||
final CacheConfiguration c;
|
c = mgr.getDefaultCacheConfiguration().clone();
|
||||||
c = mgr.getDefaultCacheConfiguration().clone();
|
c.setName(name);
|
||||||
c.setName(name);
|
return c;
|
||||||
return c;
|
|
||||||
} catch (CloneNotSupportedException e) {
|
|
||||||
throw new ProvisionException("Cannot configure cache " + name, e);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -29,7 +29,11 @@ import net.sf.ehcache.loader.CacheLoader;
|
|||||||
import net.sf.ehcache.statistics.CacheUsageListener;
|
import net.sf.ehcache.statistics.CacheUsageListener;
|
||||||
import net.sf.ehcache.statistics.LiveCacheStatistics;
|
import net.sf.ehcache.statistics.LiveCacheStatistics;
|
||||||
import net.sf.ehcache.statistics.sampled.SampledCacheStatistics;
|
import net.sf.ehcache.statistics.sampled.SampledCacheStatistics;
|
||||||
|
import net.sf.ehcache.transaction.manager.TransactionManagerLookup;
|
||||||
|
import net.sf.ehcache.writer.CacheWriter;
|
||||||
|
import net.sf.ehcache.writer.CacheWriterManager;
|
||||||
|
|
||||||
|
import java.beans.PropertyChangeListener;
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
@ -70,55 +74,66 @@ final class ProxyEhcache implements Ehcache {
|
|||||||
//
|
//
|
||||||
// Everything else delegates through self.
|
// Everything else delegates through self.
|
||||||
//
|
//
|
||||||
|
@Override
|
||||||
public void bootstrap() {
|
public void bootstrap() {
|
||||||
self().bootstrap();
|
self().bootstrap();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public long calculateInMemorySize() throws IllegalStateException,
|
public long calculateInMemorySize() throws IllegalStateException,
|
||||||
CacheException {
|
CacheException {
|
||||||
return self().calculateInMemorySize();
|
return self().calculateInMemorySize();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void clearStatistics() {
|
public void clearStatistics() {
|
||||||
self().clearStatistics();
|
self().clearStatistics();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void dispose() throws IllegalStateException {
|
public void dispose() throws IllegalStateException {
|
||||||
self().dispose();
|
self().dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void evictExpiredElements() {
|
public void evictExpiredElements() {
|
||||||
self().evictExpiredElements();
|
self().evictExpiredElements();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void flush() throws IllegalStateException, CacheException {
|
public void flush() throws IllegalStateException, CacheException {
|
||||||
self().flush();
|
self().flush();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public Element get(Object key) throws IllegalStateException, CacheException {
|
public Element get(Object key) throws IllegalStateException, CacheException {
|
||||||
return self().get(key);
|
return self().get(key);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public Element get(Serializable key) throws IllegalStateException,
|
public Element get(Serializable key) throws IllegalStateException,
|
||||||
CacheException {
|
CacheException {
|
||||||
return self().get(key);
|
return self().get(key);
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
|
@Override
|
||||||
public Map getAllWithLoader(Collection keys, Object loaderArgument)
|
public Map getAllWithLoader(Collection keys, Object loaderArgument)
|
||||||
throws CacheException {
|
throws CacheException {
|
||||||
return self().getAllWithLoader(keys, loaderArgument);
|
return self().getAllWithLoader(keys, loaderArgument);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public float getAverageGetTime() {
|
public float getAverageGetTime() {
|
||||||
return self().getAverageGetTime();
|
return self().getAverageGetTime();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public BootstrapCacheLoader getBootstrapCacheLoader() {
|
public BootstrapCacheLoader getBootstrapCacheLoader() {
|
||||||
return self().getBootstrapCacheLoader();
|
return self().getBootstrapCacheLoader();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public CacheConfiguration getCacheConfiguration() {
|
public CacheConfiguration getCacheConfiguration() {
|
||||||
if (self == null) {
|
if (self == null) {
|
||||||
// In Ehcache 1.7, BlockingCache wants to ask us if we are
|
// In Ehcache 1.7, BlockingCache wants to ask us if we are
|
||||||
@ -131,263 +146,423 @@ final class ProxyEhcache implements Ehcache {
|
|||||||
return self().getCacheConfiguration();
|
return self().getCacheConfiguration();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public RegisteredEventListeners getCacheEventNotificationService() {
|
public RegisteredEventListeners getCacheEventNotificationService() {
|
||||||
return self().getCacheEventNotificationService();
|
return self().getCacheEventNotificationService();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public CacheExceptionHandler getCacheExceptionHandler() {
|
public CacheExceptionHandler getCacheExceptionHandler() {
|
||||||
return self().getCacheExceptionHandler();
|
return self().getCacheExceptionHandler();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public CacheManager getCacheManager() {
|
public CacheManager getCacheManager() {
|
||||||
return self().getCacheManager();
|
return self().getCacheManager();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public int getDiskStoreSize() throws IllegalStateException {
|
public int getDiskStoreSize() throws IllegalStateException {
|
||||||
return self().getDiskStoreSize();
|
return self().getDiskStoreSize();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public String getGuid() {
|
public String getGuid() {
|
||||||
return self().getGuid();
|
return self().getGuid();
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
|
@Override
|
||||||
public List getKeys() throws IllegalStateException, CacheException {
|
public List getKeys() throws IllegalStateException, CacheException {
|
||||||
return self().getKeys();
|
return self().getKeys();
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
|
@Override
|
||||||
public List getKeysNoDuplicateCheck() throws IllegalStateException {
|
public List getKeysNoDuplicateCheck() throws IllegalStateException {
|
||||||
return self().getKeysNoDuplicateCheck();
|
return self().getKeysNoDuplicateCheck();
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
|
@Override
|
||||||
public List getKeysWithExpiryCheck() throws IllegalStateException,
|
public List getKeysWithExpiryCheck() throws IllegalStateException,
|
||||||
CacheException {
|
CacheException {
|
||||||
return self().getKeysWithExpiryCheck();
|
return self().getKeysWithExpiryCheck();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public long getMemoryStoreSize() throws IllegalStateException {
|
public long getMemoryStoreSize() throws IllegalStateException {
|
||||||
return self().getMemoryStoreSize();
|
return self().getMemoryStoreSize();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public Element getQuiet(Object key) throws IllegalStateException,
|
public Element getQuiet(Object key) throws IllegalStateException,
|
||||||
CacheException {
|
CacheException {
|
||||||
return self().getQuiet(key);
|
return self().getQuiet(key);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public Element getQuiet(Serializable key) throws IllegalStateException,
|
public Element getQuiet(Serializable key) throws IllegalStateException,
|
||||||
CacheException {
|
CacheException {
|
||||||
return self().getQuiet(key);
|
return self().getQuiet(key);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public List<CacheExtension> getRegisteredCacheExtensions() {
|
public List<CacheExtension> getRegisteredCacheExtensions() {
|
||||||
return self().getRegisteredCacheExtensions();
|
return self().getRegisteredCacheExtensions();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public List<CacheLoader> getRegisteredCacheLoaders() {
|
public List<CacheLoader> getRegisteredCacheLoaders() {
|
||||||
return self().getRegisteredCacheLoaders();
|
return self().getRegisteredCacheLoaders();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public int getSize() throws IllegalStateException, CacheException {
|
public int getSize() throws IllegalStateException, CacheException {
|
||||||
return self().getSize();
|
return self().getSize();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public Statistics getStatistics() throws IllegalStateException {
|
public Statistics getStatistics() throws IllegalStateException {
|
||||||
return self().getStatistics();
|
return self().getStatistics();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public int getStatisticsAccuracy() {
|
public int getStatisticsAccuracy() {
|
||||||
return self().getStatisticsAccuracy();
|
return self().getStatisticsAccuracy();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public Status getStatus() {
|
public Status getStatus() {
|
||||||
return self().getStatus();
|
return self().getStatus();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public Element getWithLoader(Object key, CacheLoader loader,
|
public Element getWithLoader(Object key, CacheLoader loader,
|
||||||
Object loaderArgument) throws CacheException {
|
Object loaderArgument) throws CacheException {
|
||||||
return self().getWithLoader(key, loader, loaderArgument);
|
return self().getWithLoader(key, loader, loaderArgument);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void initialise() {
|
public void initialise() {
|
||||||
self().initialise();
|
self().initialise();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean isDisabled() {
|
public boolean isDisabled() {
|
||||||
return self().isDisabled();
|
return self().isDisabled();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean isElementInMemory(Object key) {
|
public boolean isElementInMemory(Object key) {
|
||||||
return self().isElementInMemory(key);
|
return self().isElementInMemory(key);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean isElementInMemory(Serializable key) {
|
public boolean isElementInMemory(Serializable key) {
|
||||||
return self().isElementInMemory(key);
|
return self().isElementInMemory(key);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean isElementOnDisk(Object key) {
|
public boolean isElementOnDisk(Object key) {
|
||||||
return self().isElementOnDisk(key);
|
return self().isElementOnDisk(key);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean isElementOnDisk(Serializable key) {
|
public boolean isElementOnDisk(Serializable key) {
|
||||||
return self().isElementOnDisk(key);
|
return self().isElementOnDisk(key);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean isExpired(Element element) throws IllegalStateException,
|
public boolean isExpired(Element element) throws IllegalStateException,
|
||||||
NullPointerException {
|
NullPointerException {
|
||||||
return self().isExpired(element);
|
return self().isExpired(element);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean isKeyInCache(Object key) {
|
public boolean isKeyInCache(Object key) {
|
||||||
return self().isKeyInCache(key);
|
return self().isKeyInCache(key);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean isValueInCache(Object value) {
|
public boolean isValueInCache(Object value) {
|
||||||
return self().isValueInCache(value);
|
return self().isValueInCache(value);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void load(Object key) throws CacheException {
|
public void load(Object key) throws CacheException {
|
||||||
self().load(key);
|
self().load(key);
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
|
@Override
|
||||||
public void loadAll(Collection keys, Object argument) throws CacheException {
|
public void loadAll(Collection keys, Object argument) throws CacheException {
|
||||||
self().loadAll(keys, argument);
|
self().loadAll(keys, argument);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void put(Element element, boolean doNotNotifyCacheReplicators)
|
public void put(Element element, boolean doNotNotifyCacheReplicators)
|
||||||
throws IllegalArgumentException, IllegalStateException, CacheException {
|
throws IllegalArgumentException, IllegalStateException, CacheException {
|
||||||
self().put(element, doNotNotifyCacheReplicators);
|
self().put(element, doNotNotifyCacheReplicators);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void put(Element element) throws IllegalArgumentException,
|
public void put(Element element) throws IllegalArgumentException,
|
||||||
IllegalStateException, CacheException {
|
IllegalStateException, CacheException {
|
||||||
self().put(element);
|
self().put(element);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void putQuiet(Element element) throws IllegalArgumentException,
|
public void putQuiet(Element element) throws IllegalArgumentException,
|
||||||
IllegalStateException, CacheException {
|
IllegalStateException, CacheException {
|
||||||
self().putQuiet(element);
|
self().putQuiet(element);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void registerCacheExtension(CacheExtension cacheExtension) {
|
public void registerCacheExtension(CacheExtension cacheExtension) {
|
||||||
self().registerCacheExtension(cacheExtension);
|
self().registerCacheExtension(cacheExtension);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void registerCacheLoader(CacheLoader cacheLoader) {
|
public void registerCacheLoader(CacheLoader cacheLoader) {
|
||||||
self().registerCacheLoader(cacheLoader);
|
self().registerCacheLoader(cacheLoader);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean remove(Object key, boolean doNotNotifyCacheReplicators)
|
public boolean remove(Object key, boolean doNotNotifyCacheReplicators)
|
||||||
throws IllegalStateException {
|
throws IllegalStateException {
|
||||||
return self().remove(key, doNotNotifyCacheReplicators);
|
return self().remove(key, doNotNotifyCacheReplicators);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean remove(Object key) throws IllegalStateException {
|
public boolean remove(Object key) throws IllegalStateException {
|
||||||
return self().remove(key);
|
return self().remove(key);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean remove(Serializable key, boolean doNotNotifyCacheReplicators)
|
public boolean remove(Serializable key, boolean doNotNotifyCacheReplicators)
|
||||||
throws IllegalStateException {
|
throws IllegalStateException {
|
||||||
return self().remove(key, doNotNotifyCacheReplicators);
|
return self().remove(key, doNotNotifyCacheReplicators);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean remove(Serializable key) throws IllegalStateException {
|
public boolean remove(Serializable key) throws IllegalStateException {
|
||||||
return self().remove(key);
|
return self().remove(key);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void removeAll() throws IllegalStateException, CacheException {
|
public void removeAll() throws IllegalStateException, CacheException {
|
||||||
self().removeAll();
|
self().removeAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void removeAll(boolean doNotNotifyCacheReplicators)
|
public void removeAll(boolean doNotNotifyCacheReplicators)
|
||||||
throws IllegalStateException, CacheException {
|
throws IllegalStateException, CacheException {
|
||||||
self().removeAll(doNotNotifyCacheReplicators);
|
self().removeAll(doNotNotifyCacheReplicators);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean removeQuiet(Object key) throws IllegalStateException {
|
public boolean removeQuiet(Object key) throws IllegalStateException {
|
||||||
return self().removeQuiet(key);
|
return self().removeQuiet(key);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean removeQuiet(Serializable key) throws IllegalStateException {
|
public boolean removeQuiet(Serializable key) throws IllegalStateException {
|
||||||
return self().removeQuiet(key);
|
return self().removeQuiet(key);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void setBootstrapCacheLoader(BootstrapCacheLoader bootstrapCacheLoader)
|
public void setBootstrapCacheLoader(BootstrapCacheLoader bootstrapCacheLoader)
|
||||||
throws CacheException {
|
throws CacheException {
|
||||||
self().setBootstrapCacheLoader(bootstrapCacheLoader);
|
self().setBootstrapCacheLoader(bootstrapCacheLoader);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void setCacheExceptionHandler(
|
public void setCacheExceptionHandler(
|
||||||
CacheExceptionHandler cacheExceptionHandler) {
|
CacheExceptionHandler cacheExceptionHandler) {
|
||||||
self().setCacheExceptionHandler(cacheExceptionHandler);
|
self().setCacheExceptionHandler(cacheExceptionHandler);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void setCacheManager(CacheManager cacheManager) {
|
public void setCacheManager(CacheManager cacheManager) {
|
||||||
self().setCacheManager(cacheManager);
|
self().setCacheManager(cacheManager);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void setDisabled(boolean disabled) {
|
public void setDisabled(boolean disabled) {
|
||||||
self().setDisabled(disabled);
|
self().setDisabled(disabled);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void setDiskStorePath(String diskStorePath) throws CacheException {
|
public void setDiskStorePath(String diskStorePath) throws CacheException {
|
||||||
self().setDiskStorePath(diskStorePath);
|
self().setDiskStorePath(diskStorePath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void setStatisticsAccuracy(int statisticsAccuracy) {
|
public void setStatisticsAccuracy(int statisticsAccuracy) {
|
||||||
self().setStatisticsAccuracy(statisticsAccuracy);
|
self().setStatisticsAccuracy(statisticsAccuracy);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void unregisterCacheExtension(CacheExtension cacheExtension) {
|
public void unregisterCacheExtension(CacheExtension cacheExtension) {
|
||||||
self().unregisterCacheExtension(cacheExtension);
|
self().unregisterCacheExtension(cacheExtension);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void unregisterCacheLoader(CacheLoader cacheLoader) {
|
public void unregisterCacheLoader(CacheLoader cacheLoader) {
|
||||||
self().unregisterCacheLoader(cacheLoader);
|
self().unregisterCacheLoader(cacheLoader);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public Object getInternalContext() {
|
public Object getInternalContext() {
|
||||||
return self.getInternalContext();
|
return self().getInternalContext();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public LiveCacheStatistics getLiveCacheStatistics() throws IllegalStateException {
|
public LiveCacheStatistics getLiveCacheStatistics() throws IllegalStateException {
|
||||||
return self.getLiveCacheStatistics();
|
return self().getLiveCacheStatistics();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public SampledCacheStatistics getSampledCacheStatistics() {
|
public SampledCacheStatistics getSampledCacheStatistics() {
|
||||||
return self.getSampledCacheStatistics();
|
return self().getSampledCacheStatistics();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public int getSizeBasedOnAccuracy(int statisticsAccuracy) throws IllegalArgumentException,
|
public int getSizeBasedOnAccuracy(int statisticsAccuracy) throws IllegalArgumentException,
|
||||||
IllegalStateException, CacheException {
|
IllegalStateException, CacheException {
|
||||||
return self.getSizeBasedOnAccuracy(statisticsAccuracy);
|
return self().getSizeBasedOnAccuracy(statisticsAccuracy);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean isSampledStatisticsEnabled() {
|
public boolean isSampledStatisticsEnabled() {
|
||||||
return self.isSampledStatisticsEnabled();
|
return self().isSampledStatisticsEnabled();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean isStatisticsEnabled() {
|
public boolean isStatisticsEnabled() {
|
||||||
return self.isStatisticsEnabled();
|
return self().isStatisticsEnabled();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void registerCacheUsageListener(CacheUsageListener cacheUsageListener)
|
public void registerCacheUsageListener(CacheUsageListener cacheUsageListener)
|
||||||
throws IllegalStateException {
|
throws IllegalStateException {
|
||||||
self.registerCacheUsageListener(cacheUsageListener);
|
self().registerCacheUsageListener(cacheUsageListener);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void removeCacheUsageListener(CacheUsageListener cacheUsageListener)
|
public void removeCacheUsageListener(CacheUsageListener cacheUsageListener)
|
||||||
throws IllegalStateException {
|
throws IllegalStateException {
|
||||||
self.removeCacheUsageListener(cacheUsageListener);
|
self().removeCacheUsageListener(cacheUsageListener);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void setSampledStatisticsEnabled(boolean enableStatistics) {
|
public void setSampledStatisticsEnabled(boolean enableStatistics) {
|
||||||
self.setSampledStatisticsEnabled(enableStatistics);
|
self().setSampledStatisticsEnabled(enableStatistics);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void setStatisticsEnabled(boolean enableStatistics) {
|
public void setStatisticsEnabled(boolean enableStatistics) {
|
||||||
self.setStatisticsEnabled(enableStatistics);
|
self().setStatisticsEnabled(enableStatistics);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void putWithWriter(Element element) throws IllegalArgumentException, IllegalStateException, CacheException {
|
||||||
|
self().putWithWriter(element);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Element putIfAbsent(Element element) throws NullPointerException {
|
||||||
|
return self().putIfAbsent(element);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean removeElement(Element element) throws NullPointerException {
|
||||||
|
return self().removeElement(element);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean replace(Element element, Element element1) throws NullPointerException, IllegalArgumentException {
|
||||||
|
return self().replace(element, element1);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Element replace(Element element) throws NullPointerException {
|
||||||
|
return self().replace(element);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean removeWithWriter(Object o) throws IllegalStateException, CacheException {
|
||||||
|
return self().removeWithWriter(o);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public long calculateOffHeapSize() throws IllegalStateException, CacheException {
|
||||||
|
return self().calculateOffHeapSize();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public long getOffHeapStoreSize() throws IllegalStateException {
|
||||||
|
return self().getOffHeapStoreSize();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void registerCacheWriter(CacheWriter cacheWriter) {
|
||||||
|
self().registerCacheWriter(cacheWriter);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void unregisterCacheWriter() {
|
||||||
|
self().unregisterCacheWriter();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public CacheWriter getRegisteredCacheWriter() {
|
||||||
|
return self().getRegisteredCacheWriter();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void disableDynamicFeatures() {
|
||||||
|
self().disableDynamicFeatures();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public CacheWriterManager getWriterManager() {
|
||||||
|
return self().getWriterManager();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isClusterCoherent() {
|
||||||
|
return self().isClusterCoherent();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isNodeCoherent() {
|
||||||
|
return self().isNodeCoherent();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void setNodeCoherent(boolean b) throws UnsupportedOperationException {
|
||||||
|
self().setNodeCoherent(b);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void waitUntilClusterCoherent() throws UnsupportedOperationException {
|
||||||
|
self().waitUntilClusterCoherent();
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void setTransactionManagerLookup(TransactionManagerLookup transactionManagerLookup) {
|
||||||
|
self().setTransactionManagerLookup(transactionManagerLookup);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void addPropertyChangeListener(PropertyChangeListener propertyChangeListener) {
|
||||||
|
self().addPropertyChangeListener(propertyChangeListener);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void removePropertyChangeListener(PropertyChangeListener propertyChangeListener) {
|
||||||
|
self().removePropertyChangeListener(propertyChangeListener);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
14
pom.xml
14
pom.xml
@ -56,7 +56,7 @@ limitations under the License.
|
|||||||
<jettyVersion>7.2.1.v20101111</jettyVersion>
|
<jettyVersion>7.2.1.v20101111</jettyVersion>
|
||||||
<keyappletVersion>1.0</keyappletVersion>
|
<keyappletVersion>1.0</keyappletVersion>
|
||||||
|
|
||||||
<gwt.soyc>false</gwt.soyc>
|
<gwt.compileReport>false</gwt.compileReport>
|
||||||
|
|
||||||
<project.build.sourceEncoding>
|
<project.build.sourceEncoding>
|
||||||
UTF-8
|
UTF-8
|
||||||
@ -497,7 +497,7 @@ limitations under the License.
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>net.sf.ehcache</groupId>
|
<groupId>net.sf.ehcache</groupId>
|
||||||
<artifactId>ehcache-core</artifactId>
|
<artifactId>ehcache-core</artifactId>
|
||||||
<version>1.7.2</version>
|
<version>2.3.0</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
@ -540,7 +540,7 @@ limitations under the License.
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>commons-net</groupId>
|
<groupId>commons-net</groupId>
|
||||||
<artifactId>commons-net</artifactId>
|
<artifactId>commons-net</artifactId>
|
||||||
<version>2.0</version>
|
<version>2.2</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
@ -558,7 +558,7 @@ limitations under the License.
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>commons-pool</groupId>
|
<groupId>commons-pool</groupId>
|
||||||
<artifactId>commons-pool</artifactId>
|
<artifactId>commons-pool</artifactId>
|
||||||
<version>1.5.4</version>
|
<version>1.5.5</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
@ -681,13 +681,13 @@ limitations under the License.
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.h2database</groupId>
|
<groupId>com.h2database</groupId>
|
||||||
<artifactId>h2</artifactId>
|
<artifactId>h2</artifactId>
|
||||||
<version>1.2.134</version>
|
<version>1.2.147</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>postgresql</groupId>
|
<groupId>postgresql</groupId>
|
||||||
<artifactId>postgresql</artifactId>
|
<artifactId>postgresql</artifactId>
|
||||||
<version>8.4-701.jdbc4</version>
|
<version>9.0-801.jdbc4</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
@ -712,7 +712,7 @@ limitations under the License.
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.tomcat</groupId>
|
<groupId>org.apache.tomcat</groupId>
|
||||||
<artifactId>servlet-api</artifactId>
|
<artifactId>servlet-api</artifactId>
|
||||||
<version>6.0.24</version>
|
<version>6.0.29</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user