public class NCachedRepository extends AbstractNRepositoryBase
| Modifier and Type | Field and Description |
|---|---|
protected NRepositoryFolderHelper |
cache |
protected NRepositoryFolderHelper |
lib |
nIndexStoreavailable, configModel, enabled, extensions, options, parentRepository, securityModel, supportsDeploy, userProperties, workspace| Constructor and Description |
|---|
NCachedRepository(net.thevpc.nuts.NAddRepositoryOptions options,
net.thevpc.nuts.NRepository parent,
net.thevpc.nuts.NSpeedQualifier speed,
boolean supportedMirroring,
String repositoryType,
boolean supportsDeploy) |
| Modifier and Type | Method and Description |
|---|---|
protected net.thevpc.nuts.log.NLog |
_LOG() |
protected net.thevpc.nuts.log.NLogOp |
_LOGOP() |
boolean |
acceptAction(net.thevpc.nuts.NId id,
NRepositorySupportedAction supportedAction,
net.thevpc.nuts.NFetchMode mode) |
net.thevpc.nuts.NDescriptor |
deployImpl(net.thevpc.nuts.spi.NDeployRepositoryCmd command) |
net.thevpc.nuts.io.NPath |
fetchContentCore(net.thevpc.nuts.NId id,
net.thevpc.nuts.NDescriptor descriptor,
net.thevpc.nuts.NFetchMode fetchMode) |
net.thevpc.nuts.io.NPath |
fetchContentImpl(net.thevpc.nuts.NId id,
net.thevpc.nuts.NDescriptor descriptor,
net.thevpc.nuts.NFetchMode fetchMode) |
net.thevpc.nuts.NDescriptor |
fetchDescriptorCore(net.thevpc.nuts.NId id,
net.thevpc.nuts.NFetchMode fetchMode) |
net.thevpc.nuts.NDescriptor |
fetchDescriptorImpl(net.thevpc.nuts.NId id,
net.thevpc.nuts.NFetchMode fetchMode) |
String |
getBootConnectionString() |
NRepositoryFolderHelper |
getCache() |
NRepositoryFolderHelper |
getLib() |
boolean |
isAcceptFetchMode(net.thevpc.nuts.NFetchMode mode) |
protected boolean |
isAllowedOverrideArtifact(net.thevpc.nuts.NId id) |
boolean |
isLockEnabled() |
boolean |
isRemote() |
void |
pushImpl(net.thevpc.nuts.spi.NPushRepositoryCmd command) |
net.thevpc.nuts.util.NIterator<net.thevpc.nuts.NId> |
searchCore(net.thevpc.nuts.NDefinitionFilter filter,
net.thevpc.nuts.io.NPath[] basePaths,
net.thevpc.nuts.NId[] baseIds,
net.thevpc.nuts.NFetchMode fetchMode) |
net.thevpc.nuts.util.NIterator<net.thevpc.nuts.NId> |
searchImpl(net.thevpc.nuts.NDefinitionFilter filter,
net.thevpc.nuts.NFetchMode fetchMode) |
net.thevpc.nuts.NId |
searchLatestVersion(net.thevpc.nuts.NId id,
net.thevpc.nuts.NDefinitionFilter filter,
net.thevpc.nuts.NFetchMode fetchMode) |
net.thevpc.nuts.NId |
searchLatestVersionCore(net.thevpc.nuts.NId id,
net.thevpc.nuts.NDefinitionFilter filter,
net.thevpc.nuts.NFetchMode fetchMode) |
net.thevpc.nuts.util.NIterator<net.thevpc.nuts.NId> |
searchVersionsCore(net.thevpc.nuts.NId id,
net.thevpc.nuts.NDefinitionFilter idFilter,
net.thevpc.nuts.NFetchMode fetchMode) |
net.thevpc.nuts.util.NIterator<net.thevpc.nuts.NId> |
searchVersionsImpl(net.thevpc.nuts.NId id,
net.thevpc.nuts.NDefinitionFilter idFilter,
net.thevpc.nuts.NFetchMode fetchMode) |
NCachedRepository |
setLockEnabled(boolean lockEnabled) |
void |
undeployImpl(net.thevpc.nuts.spi.NRepositoryUndeployCmd options) |
net.thevpc.nuts.spi.NUpdateRepositoryStatsCmd |
updateStatistics() |
void |
updateStatisticsImpl() |
checkAllowedFetch, deploy, fetchContent, fetchDescriptor, getIdBasedir, getIdComponentExtension, getIdExtension, getIdRelativePath, getIdRemotePath, getIndexStore, init, push, search, searchVersions, toString, traceMessage, undeployaddRepositoryListener, addTag, addUserPropertyListener, config, containsTags, getIdFilename, getIdFilename, getName, getParentRepository, getRepositoryListeners, getRepositoryType, getTags, getUserProperties, getUserPropertyListeners, getUuid, getWorkspace, isAccessible, isAccessible, isAccessibleImpl, isEnabled, isPreview, isSupportedDeploy, isSupportedDeploy, isTemporary, removeRepositoryListener, removeTag, removeUserPropertyListener, security, setEnabledclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitofgetIdFilenameprotected final NRepositoryFolderHelper lib
protected final NRepositoryFolderHelper cache
public NCachedRepository(net.thevpc.nuts.NAddRepositoryOptions options,
net.thevpc.nuts.NRepository parent,
net.thevpc.nuts.NSpeedQualifier speed,
boolean supportedMirroring,
String repositoryType,
boolean supportsDeploy)
public boolean isLockEnabled()
public NCachedRepository setLockEnabled(boolean lockEnabled)
public NRepositoryFolderHelper getLib()
public NRepositoryFolderHelper getCache()
protected net.thevpc.nuts.log.NLogOp _LOGOP()
protected net.thevpc.nuts.log.NLog _LOG()
public void pushImpl(net.thevpc.nuts.spi.NPushRepositoryCmd command)
public net.thevpc.nuts.NDescriptor deployImpl(net.thevpc.nuts.spi.NDeployRepositoryCmd command)
public final void undeployImpl(net.thevpc.nuts.spi.NRepositoryUndeployCmd options)
public net.thevpc.nuts.NDescriptor fetchDescriptorImpl(net.thevpc.nuts.NId id,
net.thevpc.nuts.NFetchMode fetchMode)
public final net.thevpc.nuts.util.NIterator<net.thevpc.nuts.NId> searchVersionsImpl(net.thevpc.nuts.NId id,
net.thevpc.nuts.NDefinitionFilter idFilter,
net.thevpc.nuts.NFetchMode fetchMode)
public final net.thevpc.nuts.io.NPath fetchContentImpl(net.thevpc.nuts.NId id,
net.thevpc.nuts.NDescriptor descriptor,
net.thevpc.nuts.NFetchMode fetchMode)
public final net.thevpc.nuts.util.NIterator<net.thevpc.nuts.NId> searchImpl(net.thevpc.nuts.NDefinitionFilter filter,
net.thevpc.nuts.NFetchMode fetchMode)
protected boolean isAllowedOverrideArtifact(net.thevpc.nuts.NId id)
public net.thevpc.nuts.util.NIterator<net.thevpc.nuts.NId> searchVersionsCore(net.thevpc.nuts.NId id,
net.thevpc.nuts.NDefinitionFilter idFilter,
net.thevpc.nuts.NFetchMode fetchMode)
public net.thevpc.nuts.NId searchLatestVersionCore(net.thevpc.nuts.NId id,
net.thevpc.nuts.NDefinitionFilter filter,
net.thevpc.nuts.NFetchMode fetchMode)
public net.thevpc.nuts.NDescriptor fetchDescriptorCore(net.thevpc.nuts.NId id,
net.thevpc.nuts.NFetchMode fetchMode)
public net.thevpc.nuts.io.NPath fetchContentCore(net.thevpc.nuts.NId id,
net.thevpc.nuts.NDescriptor descriptor,
net.thevpc.nuts.NFetchMode fetchMode)
public net.thevpc.nuts.util.NIterator<net.thevpc.nuts.NId> searchCore(net.thevpc.nuts.NDefinitionFilter filter,
net.thevpc.nuts.io.NPath[] basePaths,
net.thevpc.nuts.NId[] baseIds,
net.thevpc.nuts.NFetchMode fetchMode)
public String getBootConnectionString()
public void updateStatisticsImpl()
public boolean acceptAction(net.thevpc.nuts.NId id,
NRepositorySupportedAction supportedAction,
net.thevpc.nuts.NFetchMode mode)
acceptAction in interface NRepositoryExtacceptAction in class AbstractNRepositoryBasepublic final net.thevpc.nuts.NId searchLatestVersion(net.thevpc.nuts.NId id,
net.thevpc.nuts.NDefinitionFilter filter,
net.thevpc.nuts.NFetchMode fetchMode)
searchLatestVersion in interface NRepositoryExtsearchLatestVersion in class AbstractNRepositoryBasepublic final net.thevpc.nuts.spi.NUpdateRepositoryStatsCmd updateStatistics()
updateStatistics in interface net.thevpc.nuts.spi.NRepositorySPIupdateStatistics in class AbstractNRepositoryBasepublic boolean isAcceptFetchMode(net.thevpc.nuts.NFetchMode mode)
public boolean isRemote()
Copyright © 2025 vpc open source initiative. All rights reserved.