Ejemplo n.º 1
0
 /** {@inheritDoc} */
 @Override
 public Status getStatus() throws NonStopCacheException {
   // THIS IS GENERATED CODE -- DO NOT HAND MODIFY!
   try {
     return this.delegateClusteredStore.getStatus();
   } catch (NonStopCacheException e) {
     throw e;
   } catch (Throwable t) {
     EXCEPTION_HANDLER.handleException(t);
     throw new CacheException("Uncaught exception in getStatus() - " + t.getMessage(), t);
   }
 }
Ejemplo n.º 2
0
 /** {@inheritDoc} */
 @Override
 public void recalculateSize(Object arg0) throws NonStopCacheException {
   // THIS IS GENERATED CODE -- DO NOT HAND MODIFY!
   try {
     this.delegateClusteredStore.recalculateSize(arg0);
   } catch (NonStopCacheException e) {
     throw e;
   } catch (Throwable t) {
     EXCEPTION_HANDLER.handleException(t);
     throw new CacheException("Uncaught exception in recalculateSize() - " + t.getMessage(), t);
   }
 }
Ejemplo n.º 3
0
 /** {@inheritDoc} */
 @Override
 public boolean containsKeyOffHeap(Object arg0) throws NonStopCacheException {
   // THIS IS GENERATED CODE -- DO NOT HAND MODIFY!
   try {
     return this.delegateClusteredStore.containsKeyOffHeap(arg0);
   } catch (NonStopCacheException e) {
     throw e;
   } catch (Throwable t) {
     EXCEPTION_HANDLER.handleException(t);
     throw new CacheException("Uncaught exception in containsKeyOffHeap() - " + t.getMessage(), t);
   }
 }
Ejemplo n.º 4
0
 /** {@inheritDoc} */
 @Override
 public void setPinned(Object arg0, boolean arg1) throws NonStopCacheException {
   // THIS IS GENERATED CODE -- DO NOT HAND MODIFY!
   try {
     this.delegateClusteredStore.setPinned(arg0, arg1);
   } catch (NonStopCacheException e) {
     throw e;
   } catch (Throwable t) {
     EXCEPTION_HANDLER.handleException(t);
     throw new CacheException("Uncaught exception in setPinned() - " + t.getMessage(), t);
   }
 }
Ejemplo n.º 5
0
 /** {@inheritDoc} */
 @Override
 public void setAttributeExtractors(Map arg0) throws NonStopCacheException {
   // THIS IS GENERATED CODE -- DO NOT HAND MODIFY!
   try {
     this.delegateClusteredStore.setAttributeExtractors(arg0);
   } catch (NonStopCacheException e) {
     throw e;
   } catch (Throwable t) {
     EXCEPTION_HANDLER.handleException(t);
     throw new CacheException(
         "Uncaught exception in setAttributeExtractors() - " + t.getMessage(), t);
   }
 }
Ejemplo n.º 6
0
 /** {@inheritDoc} */
 @Override
 public Results executeQuery(StoreQuery arg0) throws NonStopCacheException, SearchException {
   // THIS IS GENERATED CODE -- DO NOT HAND MODIFY!
   try {
     return this.delegateClusteredStore.executeQuery(arg0);
   } catch (NonStopCacheException e) {
     throw e;
   } catch (SearchException e) {
     throw e;
   } catch (Throwable t) {
     EXCEPTION_HANDLER.handleException(t);
     throw new CacheException("Uncaught exception in executeQuery() - " + t.getMessage(), t);
   }
 }
Ejemplo n.º 7
0
 /** {@inheritDoc} */
 @Override
 public boolean isNodeCoherent() throws NonStopCacheException, TerracottaNotRunningException {
   // THIS IS GENERATED CODE -- DO NOT HAND MODIFY!
   try {
     return this.delegateClusteredStore.isNodeCoherent();
   } catch (NonStopCacheException e) {
     throw e;
   } catch (TerracottaNotRunningException e) {
     throw e;
   } catch (Throwable t) {
     EXCEPTION_HANDLER.handleException(t);
     throw new CacheException("Uncaught exception in isNodeCoherent() - " + t.getMessage(), t);
   }
 }
Ejemplo n.º 8
0
 /** {@inheritDoc} */
 @Override
 public Element putIfAbsent(Element arg0) throws NonStopCacheException, NullPointerException {
   // THIS IS GENERATED CODE -- DO NOT HAND MODIFY!
   try {
     return this.delegateClusteredStore.putIfAbsent(arg0);
   } catch (NonStopCacheException e) {
     throw e;
   } catch (NullPointerException e) {
     throw e;
   } catch (Throwable t) {
     EXCEPTION_HANDLER.handleException(t);
     throw new CacheException("Uncaught exception in putIfAbsent() - " + t.getMessage(), t);
   }
 }
Ejemplo n.º 9
0
 /** {@inheritDoc} */
 @Override
 public Element removeWithWriter(Object arg0, CacheWriterManager arg1)
     throws NonStopCacheException, CacheException {
   // THIS IS GENERATED CODE -- DO NOT HAND MODIFY!
   try {
     return this.delegateClusteredStore.removeWithWriter(arg0, arg1);
   } catch (NonStopCacheException e) {
     throw e;
   } catch (CacheException e) {
     throw e;
   } catch (Throwable t) {
     EXCEPTION_HANDLER.handleException(t);
     throw new CacheException("Uncaught exception in removeWithWriter() - " + t.getMessage(), t);
   }
 }
Ejemplo n.º 10
0
 /** {@inheritDoc} */
 @Override
 public void setNodeCoherent(boolean arg0)
     throws NonStopCacheException, UnsupportedOperationException, TerracottaNotRunningException {
   // THIS IS GENERATED CODE -- DO NOT HAND MODIFY!
   try {
     this.delegateClusteredStore.setNodeCoherent(arg0);
   } catch (NonStopCacheException e) {
     throw e;
   } catch (UnsupportedOperationException e) {
     throw e;
   } catch (TerracottaNotRunningException e) {
     throw e;
   } catch (Throwable t) {
     EXCEPTION_HANDLER.handleException(t);
     throw new CacheException("Uncaught exception in setNodeCoherent() - " + t.getMessage(), t);
   }
 }
Ejemplo n.º 11
0
 /** {@inheritDoc} */
 @Override
 public boolean replace(Element arg0, Element arg1, ElementValueComparator arg2)
     throws NonStopCacheException, NullPointerException, IllegalArgumentException {
   // THIS IS GENERATED CODE -- DO NOT HAND MODIFY!
   try {
     return this.delegateClusteredStore.replace(arg0, arg1, arg2);
   } catch (NonStopCacheException e) {
     throw e;
   } catch (NullPointerException e) {
     throw e;
   } catch (IllegalArgumentException e) {
     throw e;
   } catch (Throwable t) {
     EXCEPTION_HANDLER.handleException(t);
     throw new CacheException("Uncaught exception in replace() - " + t.getMessage(), t);
   }
 }