BasicScaling class

A service with basic scaling will create an instance when the application receives a request.

The instance will be turned down when the app becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity.

Constructors

BasicScaling({String? idleTimeout, int? maxInstances})
BasicScaling.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
idleTimeout String?
Duration of time after the last request that an instance must wait before the instance is shut down.
getter/setter pair
maxInstances int?
Maximum number of instances to create for this version.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited