Package org.apache.archiva.admin.model.beans

Examples of org.apache.archiva.admin.model.beans.FileLockConfiguration


                usersCache.setTimeToIdleSeconds( cacheConfiguration.getTimeToIdleSeconds() );
                usersCache.setMaxElementsOnDisk( cacheConfiguration.getMaxElementsOnDisk() );
                usersCache.setMaxElementsInMemory( cacheConfiguration.getMaxElementsInMemory() );
            }

            FileLockConfiguration fileLockConfiguration = archivaRuntimeConfiguration.getFileLockConfiguration();
            if ( fileLockConfiguration != null )
            {
                fileLockManager.setTimeout( fileLockConfiguration.getLockingTimeout() );
                fileLockManager.setSkipLocking( fileLockConfiguration.isSkipLocking() );
            }


        }
        catch ( RepositoryAdminException e )
View Full Code Here


        boolean save = false;

        // NPE free
        if ( archivaRuntimeConfiguration.getFileLockConfiguration() == null )
        {
            archivaRuntimeConfiguration.setFileLockConfiguration( new FileLockConfiguration() );
        }

        // NPE free
        if ( archivaRuntimeConfiguration.getUrlFailureCacheConfiguration() == null )
        {
View Full Code Here

                usersCache.setTimeToIdleSeconds( cacheConfiguration.getTimeToIdleSeconds() );
                usersCache.setMaxElementsOnDisk( cacheConfiguration.getMaxElementsOnDisk() );
                usersCache.setMaxElementsInMemory( cacheConfiguration.getMaxElementsInMemory() );
            }

            FileLockConfiguration fileLockConfiguration = archivaRuntimeConfiguration.getFileLockConfiguration();
            if ( fileLockConfiguration != null )
            {
                fileLockManager.setTimeout( fileLockConfiguration.getLockingTimeout() );
                fileLockConfiguration.setSkipLocking( fileLockConfiguration.isSkipLocking() );
            }


        }
        catch ( RepositoryAdminException e )
View Full Code Here

        boolean save = false;

        // NPE free
        if ( archivaRuntimeConfiguration.getFileLockConfiguration() == null )
        {
            archivaRuntimeConfiguration.setFileLockConfiguration( new FileLockConfiguration() );
        }

        // NPE free
        if ( archivaRuntimeConfiguration.getUrlFailureCacheConfiguration() == null )
        {
View Full Code Here

TOP

Related Classes of org.apache.archiva.admin.model.beans.FileLockConfiguration

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.