Transaction class
Constructors
- Transaction(Command command)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- parser ↔ Parser
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serializer ↔ Serializer
-
getter/setter pairinherited
- transaction_completed ↔ bool
-
getter/setter pair
Methods
-
discard(
) → Future? -
exec(
) → Future -
get(
String key) → Future -
Get value given a key
inherited
-
get_connection(
) → RedisConnection -
inherited
-
multi(
) → Future< Transaction> -
Transations are started with multi and completed with exec()
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pipe_end(
) → void -
Requred to be called after last piping command
inherited
-
pipe_start(
) → void -
Set socket settings for sending transations
inherited
-
send_nothing(
) → Future? -
return future that completes when
all prevous packets are processed
inherited
-
send_object(
Object object) → Future -
Serialize and send data to server
override
-
set(
String key, String value) → Future -
Set String value given a key
inherited
-
setParser(
Parser p) → Command -
inherited
-
setSerializer(
Serializer s) → Command -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited