- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for getCachedAt (0.16 sec)
-
platforms/software/dependency-management/src/main/java/org/gradle/internal/resource/cached/DefaultCachedExternalResource.java
public boolean isMissing() { return cachedFile == null; } @Override public File getCachedFile() { return cachedFile; } @Override public long getCachedAt() { return cachedAt; } @Override public ExternalResourceMetaData getExternalResourceMetaData() { return externalResourceMetaData; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/resource/cached/CachedItem.java
*/ @Nullable File getCachedFile(); /** * The timestamp of when this cache entry was created. * * @return The timestamp of when this cache entry was created. */ long getCachedAt();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 1.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/modulecache/artifacts/DefaultCachedArtifact.java
public boolean isMissing() { return cachedFile == null; } @Override public File getCachedFile() { return cachedFile; } @Override public long getCachedAt() { return cachedAt; } @Override public HashCode getDescriptorHash() { return descriptorHash; } @Override public List<String> attemptedLocations() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resource/cached/AbstractCachedIndexTest.groovy
return missing } @Override File getCachedFile() { return file } @Override long getCachedAt() { return 0 } } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 3.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/resource/cached/DefaultCachedExternalResourceIndex.java
if (value.getCachedFile() != null) { encoder.writeString(relativizeAndNormalizeFilePath(value.getCachedFile())); } encoder.writeLong(value.getCachedAt()); ExternalResourceMetaData metaData = value.getExternalResourceMetaData(); encoder.writeBoolean(metaData != null); if (metaData != null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 6.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/modulecache/artifacts/DefaultModuleArtifactCache.java
} @Override public void write(Encoder encoder, CachedArtifact value) throws Exception { encoder.writeBoolean(value.isMissing()); encoder.writeLong(value.getCachedAt()); byte[] hash = value.getDescriptorHash().toByteArray(); encoder.writeBinary(hash); if (!value.isMissing()) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 8.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/resource/transfer/DefaultCacheAwareExternalResourceAccessor.java
}); } private long getAgeMillis(BuildCommencedTimeProvider timeProvider, CachedExternalResource cached) { return timeProvider.getCurrentTime() - cached.getCachedAt(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 11.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resource/transfer/DefaultCacheAwareExternalResourceAccessorTest.groovy
then: result == resultResource and: 1 * index.lookup("thing") >> Stub(CachedExternalResource) { getCachedAt() >> 23999L getExternalResourceMetaData() >> cachedMetaData getCachedFile() >> cachedFile } timeProvider.currentTime >> 24000L
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jan 02 17:19:47 UTC 2024 - 19.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/CachingModuleComponentRepository.java
final HashCode descriptorHash = moduleSource.getDescriptorHash(); Duration age = Duration.ofMillis(timeProvider.getCurrentTime() - cached.getCachedAt()); final boolean isChangingModule = moduleSource.isChangingModule(); ModuleComponentArtifactMetadata moduleComponentArtifactMetadata = (ModuleComponentArtifactMetadata) artifact;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 00:21:07 UTC 2024 - 28.3K bytes - Viewed (0)