final CloudStackApi client) {
return MemoizedRetryOnTimeOutButNotOnAuthorizationExceptionSupplier.create(authException,
new Supplier<Map<String, String>>() {
@Override
public Map<String, String> get() {
GuestOSApi guestOSClient = client.getGuestOSApi();
return guestOSClient.listOSCategories();
}
@Override
public String toString() {
return Objects.toStringHelper(client.getGuestOSApi()).add("method", "listOSCategories").toString();
}