Added method deleteAdapter in class Cache