public T remove(Serializable key, String partitionName) throws ObjectStoreException
{
T removedValue = getPartition(partitionName).remove(key);
if (removedValue == null)
{
throw new ObjectDoesNotExistException();
}
// TODO possibly have a reverse map to make this more efficient
Iterator<Map.Entry<Long, Serializable>> localIterator = getExpirtyInfoPartition(partitionName).entrySet()
.iterator();