public interface LDCachingService
Modifier and Type | Interface and Description |
---|---|
static class |
LDCachingService.RefreshOpts |
Modifier and Type | Method and Description |
---|---|
void |
clear()
Manually expire all cached resources.
|
boolean |
contains(org.openrdf.model.URI resource)
Return true in case the cache contains an entry for the resource given as argument.
|
void |
expire(org.openrdf.model.URI resource)
Manually expire the caching information for the given resource.
|
org.openrdf.model.Model |
get(org.openrdf.model.URI resource,
LDCachingService.RefreshOpts... options)
Refresh and return the resource passed as argument.
|
void |
refresh(org.openrdf.model.URI resource,
LDCachingService.RefreshOpts... options)
Refresh the resource passed as argument.
|
void |
shutdown()
Shutdown the caching service and free all occupied runtime resources.
|
void refresh(org.openrdf.model.URI resource, LDCachingService.RefreshOpts... options)
resource
- the resource to refreshoptions
- options for refreshingorg.openrdf.model.Model get(org.openrdf.model.URI resource, LDCachingService.RefreshOpts... options)
resource
- the resource to retrieveoptions
- options for refreshingvoid expire(org.openrdf.model.URI resource)
resource
- the resource to expire.boolean contains(org.openrdf.model.URI resource)
resource
- the resource to checkvoid clear()
void shutdown()
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.