Class CachingGroupProvider

java.lang.Object
com.illumon.iris.db.v2.permissions.CachingGroupProvider
All Implemented Interfaces:
IrisGroupProvider

public class CachingGroupProvider extends Object implements IrisGroupProvider
A version of a group provider that delegates calls to an inner grouping provider; and saves the results. This is intended for use when you will be performing many operations; and do not want to query the underlying group provider's database for each one. You should only use an instance of this for a single top-level operation; otherwise permission changes will not be effective.