- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for currentTimeMillis (0.13 sec)
-
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataServiceTest.java
accessResult1.setContentLength(Long.valueOf(10)); accessResult1.setCreateTime(System.currentTimeMillis()); accessResult1.setExecutionTime(10); accessResult1.setHttpStatusCode(200); accessResult1.setLastModified(System.currentTimeMillis()); accessResult1.setMethod("GET"); accessResult1.setMimeType("text/plain");
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 6.8K bytes - Viewed (0) -
compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java
@Test void mergeWithSameSnapshotWithDifferentVersionsAndNewerLastUpdated() { Metadata source = createMetadataFromArtifact(artifact); Date before = new Date(System.currentTimeMillis() - 5000); Date after = new Date(System.currentTimeMillis()); addSnapshotVersion(target.getVersioning(), "jar", before, "1", 1); SnapshotVersion sv2 =
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.7K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java
urlQueue.setCreateTime(System.currentTimeMillis()); urlQueue.setDepth(1); urlQueue.setMethod("GET"); urlQueue.setSessionId("id1"); urlQueue.setUrl("http://www.id1.com/"); urlQueueService.insert(urlQueue); final OpenSearchUrlQueue urlQueue2 = new OpenSearchUrlQueue(); urlQueue2.setCreateTime(System.currentTimeMillis()); urlQueue2.setDepth(1);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 5.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/MavenArtifact.java
this.repositoryUrl = repositoryUrl + '/'; } else { this.repositoryUrl = repositoryUrl; } this.resource = resource; this.transferStartTime = System.currentTimeMillis(); } public String getRepositoryUrl() { return repositoryUrl; } public String getName() { String name = resource.getName(); if (name == null) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.2K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java
try { Thread.sleep(20); } catch (InterruptedException e) { // ignore } File dir = new File(TEMP_DIR_PATH, baseFilename + System.currentTimeMillis()); dir.mkdirs(); markForDeletion(dir); return dir; } public synchronized File createTempFile() throws IOException {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.7K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/StringWagon.java
String content = expectedContent.get(resource.getName()); if (content != null) { resource.setContentLength(content.length()); resource.setLastModified(System.currentTimeMillis()); inputData.setInputStream(new ByteArrayInputStream(content.getBytes(StandardCharsets.UTF_8))); } else {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java
return; } final OpenSearchUrlQueue urlQueue = new OpenSearchUrlQueue(); urlQueue.setSessionId(sessionId); urlQueue.setUrl(url); urlQueue.setCreateTime(System.currentTimeMillis()); urlQueue.setLastModified(0L); urlQueue.setDepth(0); urlQueue.setMethod(Constants.GET_METHOD); insert(urlQueue); } @Override
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 13.4K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/Slf4jMavenTransferListener.java
message.append(resource.getRepositoryUrl()) .append(resource.getResourceName()) .append(" ("); format.format(message, contentLength); long duration = System.currentTimeMillis() - resource.getTransferStartTime(); if (duration > 0L) { double bytesPerSecond = contentLength / (duration / 1000.0); message.append(" at ");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.7K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchAccessResult.java
private boolean initializedData = false; @Override public void init(final ResponseData responseData, final ResultData resultData) { setCreateTime(System.currentTimeMillis()); if (responseData != null) { BeanUtil.copyBeanToBean(responseData, this); } final OpenSearchAccessResultData accessResultData = new OpenSearchAccessResultData();
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Nov 07 04:44:10 UTC 2024 - 4.6K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/AbstractMavenTransferListener.java
message.resetStyle().append(resource.getResourceName()); message.style(STYLE).append(" (").append(format.format(contentLength)); long duration = System.currentTimeMillis() - resource.getTransferStartTime(); if (duration > 0L) { double bytesPerSecond = contentLength / (duration / 1000.0); message.append(" at ");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.3K bytes - Viewed (0)