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
RepositoryException
public CacheBehaviour getCacheBehaviour()
getCacheBehaviour
in interface RepositoryConfig
public int getItemCacheSize()
getItemCacheSize
in interface RepositoryConfig
public int getPollTimeout()
RepositoryConfig
RepositoryService
for changes.getPollTimeout
in interface RepositoryConfig
public <T> T getConfiguration(String name, T defaultValue)
getConfiguration
in interface RepositoryConfig
public RepositoryService getRepositoryService() throws RepositoryException
getRepositoryService
in interface RepositoryConfig
RepositoryException
Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.