All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.java.html.lib.angular.ng.ICacheFactoryService Maven / Gradle / Ivy

package net.java.html.lib.angular.ng;
public class ICacheFactoryService extends net.java.html.lib.Objs {
  protected ICacheFactoryService(net.java.html.lib.Objs.Constructor c, java.lang.Object js) {
    super(c, js);
  }
  private static final class $Constructor extends net.java.html.lib.Objs.Constructor {
    $Constructor() {
      super(ICacheFactoryService.class);
    }
    @Override
    public ICacheFactoryService create(java.lang.Object obj) {
      return obj == null ? null : new ICacheFactoryService(this, obj);
    }
  };
  private static final $Constructor $AS = new $Constructor();
  public static ICacheFactoryService $as(java.lang.Object obj) {
    return $AS.create(obj);
  }
  public net.java.html.lib.angular.ng.ICacheObject $apply(java.lang.String cacheId, net.java.html.lib.Objs optionsMap) {
    return (net.java.html.lib.angular.ng.ICacheObject)net.java.html.lib.angular.ng.ICacheObject.$as($Typings$.$apply$95($js(this), cacheId, /* TypeLiteral*/$js(optionsMap)));
  }
  public net.java.html.lib.angular.ng.ICacheObject $apply(java.lang.String cacheId) {
    return (net.java.html.lib.angular.ng.ICacheObject)net.java.html.lib.angular.ng.ICacheObject.$as($Typings$.$apply$96($js(this), cacheId));
  }
  // CallSignature: {"children":[],"kind":"CallSignature","comment":"/**\n         * Factory that constructs Cache objects and gives access to them.\n         *\n         * @param cacheId Name or id of the newly created cache.\n         * @param optionsMap Options object that specifies the cache behavior. Properties:\n         *\n         * capacity — turns the cache into LRU cache.\n         */","name":null,"type":{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"ICacheObject","right":[]},"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"text":null,"declarationList":null,"parameters":[{"name":{"kind":"Identifier","text":"cacheId","right":[]},"type":{"kind":"StringKeyword","text":null,"typeName":null,"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"questionToken":null,"dotDotDotToken":null},{"name":{"kind":"Identifier","text":"optionsMap","right":[]},"type":{"kind":"TypeLiteral","text":null,"typeName":null,"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[{"kind":"PropertySignature","text":null,"typeName":null,"type":[{"kind":"NumberKeyword","text":null,"typeName":null,"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]}],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]}]},"questionToken":{"kind":"QuestionToken"},"dotDotDotToken":null}],"typeParameters":[],"typeArguments":[],"members":[],"heritageClauses":[],"expression":[],"body":[],"statements":[],"moduleReference":[]}
  // skipping MethodKey{name={"kind":"FirstTypeNode","text":"$apply","right":[]}, parameters=[java.lang.String, net.java.html.lib.Objs]}
  // skipping MethodKey{name={"kind":"FirstTypeNode","text":"$apply","right":[]}, parameters=[java.lang.String]}
  // CallSignature: {"children":[],"kind":"CallSignature","comment":"/**\n         * Factory that constructs Cache objects and gives access to them.\n         *\n         * @param cacheId Name or id of the newly created cache.\n         * @param optionsMap Options object that specifies the cache behavior. Properties:\n         *\n         * capacity — turns the cache into LRU cache.\n         */","name":null,"type":{"kind":"FirstTypeNode","text":null,"typeName":{"kind":"Identifier","text":"ICacheObject","right":[]},"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"text":null,"declarationList":null,"parameters":[{"name":{"kind":"Identifier","text":"cacheId","right":[]},"type":{"kind":"StringKeyword","text":null,"typeName":null,"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]},"questionToken":null,"dotDotDotToken":null},{"name":{"kind":"Identifier","text":"optionsMap","right":[]},"type":{"kind":"TypeLiteral","text":null,"typeName":null,"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[{"kind":"PropertySignature","text":null,"typeName":null,"type":[{"kind":"NumberKeyword","text":null,"typeName":null,"type":[],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]}],"types":[],"typeArguments":[],"parameters":[],"elementType":[],"elementTypes":[],"members":[]}]},"questionToken":{"kind":"QuestionToken"},"dotDotDotToken":null}],"typeParameters":[],"typeArguments":[],"members":[],"heritageClauses":[],"expression":[],"body":[],"statements":[],"moduleReference":[]}
  /**
  * Get access to a cache object by the cacheId used when it was created.
  *
  * @param cacheId Name or id of a cache to access.
  */
  public net.java.html.lib.angular.ng.ICacheObject get(java.lang.String cacheId) {
    return (net.java.html.lib.angular.ng.ICacheObject)net.java.html.lib.angular.ng.ICacheObject.$as($Typings$.get$99($js(this), cacheId));
  }
  /**
  * Get information about all the caches that have been created.
  * @returns key-value map of cacheId to the result of calling cache#info
  */
  public java.lang.Object info() {
    return net.java.html.lib.Objs.$as(java.lang.Object.class, $Typings$.info$100($js(this)));
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy