- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 798 for instant (0.17 seconds)
-
api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java
void testRapidCalls() { Instant[] instants = new Instant[1000]; for (int i = 0; i < instants.length; i++) { instants[i] = MonotonicClock.now(); } // Verify monotonic behavior across all measurements for (int i = 1; i < instants.length; i++) { assertTrue( instants[i].compareTo(instants[i - 1]) >= 0,
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jan 15 06:28:29 GMT 2025 - 5.8K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/MonotonicClock.java
* @return the monotonic clock instance */ public static MonotonicClock get() { return CLOCK; } /** * Returns the current instant from the monotonic clock. * This is a convenience method equivalent to {@code get().instant()}. * * @return the current instant using monotonic timing */ public static Instant now() { return get().instant(); } /**Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jan 15 06:28:29 GMT 2025 - 5.6K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/ProtoSession.java
*/ @Nonnull Map<String, String> getEffectiveProperties(); /** * Returns the start time of the session. * * @return the start time as an Instant object, never {@code null} */ @Nonnull Instant getStartTime(); /** * Gets the directory of the topmost project being built, usually the current directory or theCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Jul 03 14:18:26 GMT 2025 - 7.5K bytes - Click Count (0) -
docs/metrics/prometheus/grafana/minio-dashboard.json
}, "exemplar": true, "expr": "topk(1, sum(minio_cluster_capacity_usable_total_bytes{job=~\"$scrape_jobs\"}) by (instance)) - topk(1, sum(minio_cluster_capacity_usable_free_bytes{job=~\"$scrape_jobs\"}) by (instance))", "format": "time_series", "instant": false, "interval": "1m", "intervalFactor": 1, "legendFormat": "Used", "refId": "A",Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Aug 04 01:46:49 GMT 2025 - 93.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingRequest.java
public void setBuildStartTime(Date buildStartTime) { setBuildStartInstant(buildStartTime != null ? Instant.ofEpochMilli(buildStartTime.getTime()) : null); } @Override public Instant getBuildStartInstant() { return this.buildStartTime; } @Override public void setBuildStartInstant(Instant buildStartTime) { this.buildStartTime = buildStartTime; } @Override
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 10:13:56 GMT 2025 - 9.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleModuleBuilder.java
* under the License. */ package org.apache.maven.lifecycle.internal; import javax.inject.Inject; import javax.inject.Named; import javax.inject.Singleton; import java.time.Duration; import java.time.Instant; import java.util.HashSet; import java.util.List; import org.apache.maven.api.MonotonicClock; import org.apache.maven.execution.BuildSuccess; import org.apache.maven.execution.ExecutionEvent;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 20:01:00 GMT 2025 - 5.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java
@Deprecated public Date getStartTime() { return new Date(startTime.toEpochMilli()); } @Override public Instant getStartInstant() { return startTime; } @Override public MavenExecutionRequest setStartInstant(Instant startTime) { this.startTime = startTime; return this; } @Override public boolean isShowErrors() {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Dec 12 11:02:17 GMT 2024 - 32.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/BuilderCommon.java
final MavenSession currentSession, final MavenProject mavenProject, Throwable t, final Instant buildStartTime) { // record the error and mark the project as failed Instant buildEndTime = MonotonicClock.now(); buildContext.getResult().addException(t); buildContext .getResult()Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 10 08:42:00 GMT 2025 - 10.3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/Slf4jMavenTransferListener.java
* specific language governing permissions and limitations * under the License. */ package org.apache.maven.cling.transfer; import java.time.Duration; import java.time.Instant; import org.apache.maven.api.MonotonicClock; import org.eclipse.aether.transfer.AbstractTransferListener; import org.eclipse.aether.transfer.TransferCancelledException; import org.eclipse.aether.transfer.TransferEvent;
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Thu Dec 12 11:02:17 GMT 2024 - 4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/ProjectBuildingRequest.java
* * @return The start time of the build or {@code null} if unknown. */ Instant getBuildStartInstant(); /** * Sets the start time of the build. * * @param buildStartInstant The start time of the build, may be {@code null}. */ void setBuildStartInstant(Instant buildStartInstant); RepositorySystemSession getRepositorySession();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 10:13:56 GMT 2025 - 7.5K bytes - Click Count (0)