@ Override public List < ApiType > list ( ) { lock . lock ( ) ; try { List < ApiType > itemList = new ArrayList <> ( this . items . size ( ) ) ; for ( Map . Entry < String , ApiType > entry : this . items . entrySet ( ) ) { itemList . add ( entry . getValue ( ) ) ; } return itemList ; } finally { lock . unlock ( ) ; } }
List all objects in the cache .