Project: mule
Issue MULE-7463: Monitored ObjectStores should behave consistently
Monitored object stores do not behave consistently: * PartitionableExpirableObjectStore instances trim to max size by applying a Least recently used algorithm. However, MonitoredObjectStoreWrapper does it by applying a Last recently used algorithm. * Additionally, it is allowed to create objects stores that are: completely unbounded, TTL bounded only, TTL and size bounded, but you can't create one that's size bounded only. Expected behavior should be: * Managed object stores always trim to size in a consistent way using LRU. * I can have an ObjectStore that's bounded size wise but unbounded TTL wise
Story points: 3