Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
package net.java.html.lib.angular;
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 ICacheObject $apply(java.lang.String cacheId, net.java.html.lib.Objs optionsMap) {
return (ICacheObject)net.java.html.lib.angular.ICacheObject.$as($Typings$.$apply$84($js(this), cacheId, /* TypeLiteral*/$js(optionsMap)));
}
public ICacheObject $apply(java.lang.String cacheId) {
return (ICacheObject)net.java.html.lib.angular.ICacheObject.$as($Typings$.$apply$85($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":[]}
/**
* 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 ICacheObject get(java.lang.String cacheId) {
return (ICacheObject)net.java.html.lib.angular.ICacheObject.$as($Typings$.get$86($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 $Typings$.info$87($js(this));
}
}