public static class Jcr2spiRepositoryFactory.RepositoryConfigImpl extends Object implements RepositoryConfig
| Constructor and Description |
|---|
RepositoryConfigImpl(RepositoryServiceFactory serviceFactory,
Map<?,?> parameters) |
| Modifier and Type | Method and Description |
|---|---|
CacheBehaviour |
getCacheBehaviour() |
<T> T |
getConfiguration(String name,
T defaultValue) |
int |
getItemCacheSize() |
int |
getPollTimeout()
Specifies an interval used for polling the
RepositoryService for changes. |
RepositoryService |
getRepositoryService() |
public RepositoryConfigImpl(RepositoryServiceFactory serviceFactory, Map<?,?> parameters) throws RepositoryException
RepositoryExceptionpublic CacheBehaviour getCacheBehaviour()
getCacheBehaviour in interface RepositoryConfigpublic int getItemCacheSize()
getItemCacheSize in interface RepositoryConfigpublic int getPollTimeout()
RepositoryConfigRepositoryService for changes.getPollTimeout in interface RepositoryConfigpublic <T> T getConfiguration(String name, T defaultValue)
getConfiguration in interface RepositoryConfigpublic RepositoryService getRepositoryService() throws RepositoryException
getRepositoryService in interface RepositoryConfigRepositoryExceptionCopyright © 2004–2022 The Apache Software Foundation. All rights reserved.