Annotation Type CappedAt


  • @Retention(RUNTIME)
    public @interface CappedAt
    Properties for capped collections; used in Entity
    Author:
    Scott Hernandez
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      long count  
      long value  
    • Element Detail

      • count

        long count
        Returns:
        count of items to cap at (defaults to unlimited)
        Default:
        0L
      • value

        long value
        Returns:
        size to cap at (defaults to 1MB)
        Default:
        1048576L