Class ResultCacheProperties
java.lang.Object
org.eclipse.rdf4j.spring.resultcache.ResultCacheProperties
@ConfigurationProperties(prefix="rdf4j.spring.resultcache")
@Validated
public class ResultCacheProperties
extends Object
- Since:
- 4.0.0
- Author:
- Florian Kleedorfer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
boolean
boolean
void
setAssumeNoOtherRepositoryClients
(boolean assumeNoOtherRepositoryClients) void
setEnabled
(boolean enabled) void
setEntryLifetime
(Duration entryLifetime) void
setInitialSize
(int initialSize) void
setMaxSize
(int maxSize)
-
Constructor Details
-
ResultCacheProperties
public ResultCacheProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getInitialSize
public int getInitialSize() -
setInitialSize
public void setInitialSize(int initialSize) -
getMaxSize
public int getMaxSize() -
setMaxSize
public void setMaxSize(int maxSize) -
isAssumeNoOtherRepositoryClients
public boolean isAssumeNoOtherRepositoryClients() -
setAssumeNoOtherRepositoryClients
public void setAssumeNoOtherRepositoryClients(boolean assumeNoOtherRepositoryClients) -
getEntryLifetime
-
setEntryLifetime
-