Package javax.cache

Examples of javax.cache.Status

   * @param jcache backing JCache Cache instance
   * @param allowNullValues whether to accept and convert null values for this cache
  public JCacheCache(javax.cache.Cache<?,?> jcache, boolean allowNullValues) {
    Assert.notNull(jcache, "Cache must not be null");
    Status status = jcache.getStatus();
        "A 'started' cache is required - current cache is " + status.toString());
    this.cache = jcache;
    this.allowNullValues = allowNullValues;
View Full Code Here

* @since 5.3
public class JStatusConverter {

   public static Status convert(ComponentStatus status) {
      Status convertedStatus;
      switch (status) {
         case FAILED:
         case TERMINATED:
         case STOPPING:
            convertedStatus = Status.STOPPED;
View Full Code Here


Related Classes of javax.cache.Status

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact