public class TemplateLoadingCache extends Object
Constructor and Description |
---|
TemplateLoadingCache() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
RepositorySource |
get(String absPath)
Returns the value associated with
key in this cache, first loading that value if
necessary. |
void |
remove(String absPath) |
void |
setCredentials(javax.jcr.Credentials credentials) |
void |
setRepository(javax.jcr.Repository repository) |
public void setRepository(javax.jcr.Repository repository)
public void setCredentials(javax.jcr.Credentials credentials)
public RepositorySource get(String absPath)
key
in this cache, first loading that value if
necessary. This method is thread-safepublic void remove(String absPath)
public void clear()
Copyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.