OnCreateMountContentPool

The annotated method will be called to create a custom MountContentPool for this mount spec. If a method with this annotation isn't provided, a DefaultMountContentPool will be used to recycle the mount content of this mount spec, which is almost always sufficient.

For example:

@OnCreateMountContentPool
  static MountContentPools.ContentPool OnCreateMountContentPool(int poolSizeOverride) {
    return new MountContentPools.ContentPool(poolSizeOverride);
  }

Functions

Link copied to clipboard
abstract fun annotationType(): Class<out Annotation>
Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
abstract fun toString(): String