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