Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 308 for Retention (0.11 seconds)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/cache/CacheMetadata.java

     *
     * @since 4.0.0
     */
    @Experimental
    public interface CacheMetadata {
    
        /**
         * Returns the cache retention that should be applied to the associated data.
         *
         * @return The CacheRetention indicating how long data should be retained, or null if
         *         no specific cache retention is defined
         */
        @Nullable
        CacheRetention getCacheRetention();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/validation/UriTypeTest.java

        }
    
        // Test annotation retention policy
        @Test
        public void test_retentionPolicy() {
            final Retention retention = UriType.class.getAnnotation(Retention.class);
            assertNotNull(retention, "Retention annotation should be present");
            assertEquals("Retention should be RUNTIME", RetentionPolicy.RUNTIME, retention.value());
        }
    
        // Test annotation target elements
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 21.3K bytes
    - Click Count (0)
  3. guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

            .that(annotationClass.getAnnotation(TesterAnnotation.class))
            .isNotNull();
        Retention retentionPolicy = annotationClass.getAnnotation(Retention.class);
        assertWithMessage(rootLocaleFormat("%s must have a @Retention annotation.", annotationClass))
            .that(retentionPolicy)
            .isNotNull();
        assertEquals(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 00:25:21 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/annotation/SecuredTest.java

            assertTrue(Arrays.asList(targetTypes).contains(ElementType.TYPE));
    
            // Check Retention annotation
            Retention retention = Secured.class.getAnnotation(Retention.class);
            assertNotNull(retention);
            assertEquals(RetentionPolicy.RUNTIME, retention.value());
    
            // Check Inherited annotation
            assertNotNull(Secured.class.getAnnotation(Inherited.class));
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/validation/CronExpressionTest.java

            assertEquals(5, types.length);
        }
    
        // Test annotation retention policy
        @Test
        public void test_annotationRetention() {
            java.lang.annotation.Retention retention = CronExpression.class.getAnnotation(java.lang.annotation.Retention.class);
            assertNotNull(retention);
            assertEquals(java.lang.annotation.RetentionPolicy.RUNTIME, retention.value());
        }
    
        // Test annotation is documented
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.5K bytes
    - Click Count (0)
  6. api/maven-api-annotations/src/main/java/org/apache/maven/api/annotations/Immutable.java

     * under the License.
     */
    package org.apache.maven.api.annotations;
    
    import java.lang.annotation.Documented;
    import java.lang.annotation.ElementType;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * The {@code Immutable} annotation indicates that the object is immutable, i.e.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 10 21:43:27 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  7. api/maven-api-annotations/src/main/java/org/apache/maven/api/annotations/Nonnull.java

     * under the License.
     */
    package org.apache.maven.api.annotations;
    
    import java.lang.annotation.Documented;
    import java.lang.annotation.ElementType;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    /**
     * The annotated element must not be null.
     * <p>
     * Annotated fields must not be null after construction has completed.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 10 21:43:27 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetFeature.java

    import com.google.common.collect.testing.features.Feature;
    import com.google.common.collect.testing.features.TesterAnnotation;
    import java.lang.annotation.Inherited;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.util.Set;
    
    /**
     * Optional features of classes derived from {@link Multiset}.
     *
     * @author Louis Wasserman
     */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 30 16:59:10 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  9. api/maven-api-di/src/main/java/org/apache/maven/api/di/Inject.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api.di;
    
    import java.lang.annotation.Documented;
    import java.lang.annotation.Retention;
    import java.lang.annotation.Target;
    
    import static java.lang.annotation.ElementType.CONSTRUCTOR;
    import static java.lang.annotation.ElementType.FIELD;
    import static java.lang.annotation.ElementType.METHOD;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jan 30 23:28:59 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/cache/RequestCache.java

     * methods for executing and optionally caching both single requests and batches of requests.
     * <p>
     * The cache behavior is determined by the cache retention specified in the request's metadata.
     * Results can be cached at different policies (forever, session, request, or not at all)
     * based on the {@link CacheRetention} associated with the request.
     *
     * @since 4.0.0
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 3.5K bytes
    - Click Count (0)
Back to Top