- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for CacheDecorator (0.22 sec)
-
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/CacheDecorator.java
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.cache; public interface CacheDecorator { /** * @param cacheId Unique id for this cache instance. * @param cacheName Name for the type of contents stored in this cache instance. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 1K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultInMemoryCacheDecoratorFactory.java
import org.gradle.cache.AsyncCacheAccess; import org.gradle.cache.CacheDecorator; import org.gradle.cache.CrossProcessCacheAccess; import org.gradle.cache.FileLock; import org.gradle.cache.MultiProcessSafeIndexedCache; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.concurrent.atomic.AtomicReference; /**
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 16:02:36 UTC 2024 - 6.4K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/IndexedCacheParameters.java
return valueSerializer; } @Nullable public CacheDecorator getCacheDecorator() { return cacheDecorator; } public IndexedCacheParameters<K, V> withCacheDecorator(CacheDecorator cacheDecorator) { return new IndexedCacheParameters<K, V>(cacheName, keySerializer, valueSerializer, cacheDecorator); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 2.7K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/InMemoryCacheDecoratorFactory.java
* limitations under the License. */ package org.gradle.cache.internal; import org.gradle.cache.CacheDecorator; import org.gradle.internal.service.scopes.Scope; import org.gradle.internal.service.scopes.ServiceScope; @ServiceScope(Scope.Global.class) public interface InMemoryCacheDecoratorFactory { CacheDecorator decorator(int maxEntriesToKeepInMemory, boolean cacheInMemoryForShortLivedProcesses);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 17 00:47:05 UTC 2024 - 988 bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/impl/DefaultOutputFilesRepositoryTest.groovy
def cacheAccess = Stub(PersistentCache) { createIndexedCache(_) >> outputFiles } def cacheDecorator = Mock(CacheDecorator) def inMemoryCacheDecoratorFactory = Stub(DefaultInMemoryCacheDecoratorFactory) { decorator(100000, true) >> cacheDecorator } def repository = new DefaultOutputFilesRepository(cacheAccess, inMemoryCacheDecoratorFactory)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 16:02:33 UTC 2024 - 3.2K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/cache/internal/DefaultFileContentCacheFactoryTest.groovy
def inMemoryTaskArtifactCache = new DefaultInMemoryCacheDecoratorFactory(false, new TestCrossBuildInMemoryCacheFactory()) { @Override CacheDecorator decorator(int maxEntriesToKeepInMemory, boolean cacheInMemoryForShortLivedProcesses) { return new CacheDecorator() { @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 8.4K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/changedetection/state/DefaultFileAccessTimeJournalTest.groovy
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.api.internal.changedetection.state import org.gradle.cache.CacheDecorator import org.gradle.cache.internal.DefaultInMemoryCacheDecoratorFactory import org.gradle.cache.internal.DefaultUnscopedCacheBuilderFactory import org.gradle.cache.internal.scopes.DefaultCacheScopeMapping
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 10 15:51:30 UTC 2024 - 4.4K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/DefaultExecutionHistoryStore.java
* limitations under the License. */ package org.gradle.internal.execution.history.impl; import com.google.common.collect.ImmutableSortedMap; import com.google.common.collect.Interner; import org.gradle.cache.CacheDecorator; import org.gradle.cache.IndexedCache; import org.gradle.cache.IndexedCacheParameters; import org.gradle.cache.PersistentCache; import org.gradle.cache.internal.InMemoryCacheDecoratorFactory;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Feb 05 09:09:23 UTC 2024 - 3.8K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/DefaultCacheCoordinator.java
private void checkCompatibleCacheDecorator(Collection<String> faultMessages, CacheDecorator cacheDecorator) { if (!Objects.equal(cacheDecorator, parameters.getCacheDecorator())) { faultMessages.add( String.format(" * Requested cache decorator type (%s) doesn't match current cache type (%s)", cacheDecorator, parameters.getCacheDecorator())); } } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 01 12:21:15 UTC 2024 - 20.5K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultExclusiveCacheAccessCoordinatorTest.groovy
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.cache.internal import org.gradle.cache.AsyncCacheAccess import org.gradle.cache.CacheDecorator import org.gradle.cache.CrossProcessCacheAccess import org.gradle.cache.FileLock import org.gradle.cache.FileLockManager import org.gradle.cache.FileLockReleasedSignal import org.gradle.cache.IndexedCacheParameters
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:51 UTC 2024 - 24K bytes - Viewed (0)