I don't think you can get the AccountCache singleton directly; it's used internally. However, it looks like you can use the Provisioning singleton and the get() method:
Code:
Provisioning prov = Provisioning.getInstance();
Account retAcct = prov.get(AccountBy.id, my_uid);