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