Skip to content

Template loader for apache StrSubstitutor that evict LRU templates in a certain interval

License

Notifications You must be signed in to change notification settings

janselv/template-matcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Template Matcher

Load templates from disc and use apache StrSubstitutor to match params and template attributes. If configured to auto purge, a dedicated daemon is created to evict LRU loaded template after elapsed configured idle time.

Usage:

        Map<String,String> params = new HashMap<>();
        
        TemplateMatcher matcher = TemplateMatcher.single(true,60,TimeUnit.MINUTES);
        matcher.template("<path-to-template>",params);
        

About

Template loader for apache StrSubstitutor that evict LRU templates in a certain interval

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages