Coverage Report - org.kuali.rice.core.api.cache.CacheService
 
Classes in this File Line Coverage Branch Coverage Complexity
CacheService
N/A
N/A
1
 
 1  
 package org.kuali.rice.core.api.cache;
 2  
 
 3  
 
 4  
 import org.kuali.rice.core.api.exception.RiceIllegalArgumentException;
 5  
 
 6  
 import javax.jws.WebMethod;
 7  
 import javax.jws.WebParam;
 8  
 
 9  
 import javax.jws.soap.SOAPBinding;
 10  
 import java.util.Collection;
 11  
 
 12  
 /**
 13  
  * A service that enables executes various tasks on rice's caching infrastructure.
 14  
  */
 15  
 //Specifically leaving off the @WebService annotation because this should be set manually when the service is exported.
 16  
 @SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.WRAPPED)
 17  
 public interface CacheService {
 18  
 
 19  
     /**
 20  
      * Flushes an object from the cache based on a cache target.
 21  
      *
 22  
      * @param cacheTargets the targets to flush. cannot be null or contain null items
 23  
      * @throws IllegalArgumentException if the cacheTargets is null contains a null item.
 24  
      */
 25  
     @WebMethod(operationName="flush")
 26  
     void flush(@WebParam(name = "cacheTargets") Collection<CacheTarget> cacheTargets) throws RiceIllegalArgumentException;
 27  
 }