Examples of cappedMax()


Examples of org.nutz.mongo.annotation.Co.cappedMax()

      Co co = type.getAnnotation(Co.class);
      en.setCollectionName(Strings.sBlank(co.value(), type.getSimpleName().toLowerCase()));

      // 获取capped属性,判断是否为固定集合
      en.setCappedSize(co.cappedSize());
      en.setCappedMax(co.cappedMax());

      // 获得集合索引
      CoIndexes cix = type.getAnnotation(CoIndexes.class);
      if (null != cix)
        for (String str : cix.value())
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.