Interface IndyConfiguration

  • All Known Implementing Classes:
    DefaultIndyConfiguration

    public interface IndyConfiguration
    Base configuration for Indy's core. This basically sets timeouts for a couple different (relatively obscure) features.
    • Method Detail

      • getNodeId

        String getNodeId()
        Retrieve the node identifier to be used when deploying in a clustered context.
      • getPassthroughTimeoutSeconds

        int getPassthroughTimeoutSeconds()
        Number of seconds before the content in a repository marked as "pass-through" will timeout. Pass-through remote repos are designed to hold content for a minimal amount of time. They would be a simple pass-through, non-caching proxy, but in reality artifacts are usually referenced more than once from any given build. So, setting a very low pass-through timeout for content in these repositories helps to cut down on traffic to the upstream repository.
      • getNotFoundCacheTimeoutSeconds

        int getNotFoundCacheTimeoutSeconds()
        Number of seconds before a negative cache (or, not-found cache) URL record will timeout. These are used to prevent constant re-request for URLs that have been known to fail for one reason or another (ranging from 404's to 500's, to just about anything else that's not HTTP 200, 301, or 302). This value can be tuned based on use case, but for most people it should be relatively high.
        Also, the NFC (Not-Found Cache) can be maintained manually via the UI.
      • getRequestTimeoutSeconds

        int getRequestTimeoutSeconds()
      • getStoreDisableTimeoutSeconds

        int getStoreDisableTimeoutSeconds()
      • getNfcExpirationSweepMinutes

        int getNfcExpirationSweepMinutes()
        Number of minutes between sweeps of the NFC expiration reaper thread.
        Since:
        1.1.15
      • getMdcHeaders

        String getMdcHeaders()
        List of http headers to look for and include in the MDC.
        Since:
        1.3
      • getNfcMaxResultSetSize

        int getNfcMaxResultSetSize()
        Page size of NFC getMissing result set
        Since:
        1.3.0
      • getIndyHomeDir

        File getIndyHomeDir()
      • getIndyConfDir

        File getIndyConfDir()
      • isAllowRemoteListDownload

        Boolean isAllowRemoteListDownload()
      • getDisposableStorePattern

        String getDisposableStorePattern()
        Disposable stores can be deleted alone with its the content. It serves as a safe guard because mis-deleted repo definition can be restored but mis-deleted content can not.
      • getRemoteMetadataTimeoutSeconds

        int getRemoteMetadataTimeoutSeconds()
      • getForkJoinPoolCommonParallelism

        int getForkJoinPoolCommonParallelism()
      • isClusterEnabled

        boolean isClusterEnabled()
      • getCacheKeyspace

        String getCacheKeyspace()
      • getAffectedGroupsExcludeFilter

        String getAffectedGroupsExcludeFilter()
      • getNfcProvider

        String getNfcProvider()
      • isStandalone

        Boolean isStandalone()
        Let indy run standalone local mode, which will not enable cassandra path mapped storage
        Returns:
        Since:
        2.0.0
      • isTimeoutProcessing

        Boolean isTimeoutProcessing()
        Is for PartyLine Cache Timeout Processing
        Returns:
        Since:
        2.7.5
      • isStoreManagerStandalone

        Boolean isStoreManagerStandalone()
        Decide storeDataManager to run as standalone mode or cassandra mode
        Returns:
        Since:
        2.5.0
      • isRepositoryFilterEnabled

        boolean isRepositoryFilterEnabled()
      • getGACacheStorePattern

        String getGACacheStorePattern()
      • getFileSystemContainingBatchSize

        int getFileSystemContainingBatchSize()
        FileSystemContaining is an operation by which we get what path in which repository. We use batching to limit the query candidates size to avoid huge 'IN' query.
        Returns:
        Since:
        2.1.0
      • getKeyspaceReplicas

        int getKeyspaceReplicas()
        The replication factor of cassandra keyspaces
        Returns: