2 // LoadBalancerConnectionThrottle.h
5 // Created by Mike Mayo on 7/11/11.
6 // Copyright 2011 __MyCompanyName__. All rights reserved.
9 #import <Foundation/Foundation.h>
12 @interface LoadBalancerConnectionThrottle : NSObject <NSCoding> {
13 NSInteger minConnections;
14 NSInteger maxConnections;
15 NSInteger maxConnectionRate;
16 NSInteger rateInterval;
19 @property (assign) NSInteger minConnections;
20 @property (assign) NSInteger maxConnections;
21 @property (assign) NSInteger maxConnectionRate;
22 @property (assign) NSInteger rateInterval;
24 + (LoadBalancerConnectionThrottle *)fromJSON:(NSDictionary *)json;