98d1fee994302f5e2ad7a7b60de2f2d74f35408b |
|
01-Feb-2016 |
Alex Vakulenko <avakulenko@google.com> |
Periodicly clean up command queue and remove old processed commands Do periodic command queue cleanup to reclaim memory from commands that have been in terminal state for certain period of time (5 mins). Change-Id: Ief9cdbf023a222412c296644c9e927c4be000024 Reviewed-on: https://weave-review.googlesource.com/2434 Reviewed-by: Alex Vakulenko <avakulenko@google.com>
/external/libweave/src/commands/command_queue.cc
|
329ad806d155a45f5450f998801b5ca16351bc88 |
|
01-Feb-2016 |
Alex Vakulenko <avakulenko@google.com> |
Rename CommandQueue::DelayedRemove into RemoveLater() Changed the method name to be more consistent with similar primitives of base/ (e.g. MessageLoop::DeleteSoon). Change-Id: I4038e3a77c014e0adf83a44baf770c834246b5a1 Reviewed-on: https://weave-review.googlesource.com/2429 Reviewed-by: Vitaly Buka <vitalybuka@google.com>
/external/libweave/src/commands/command_queue.cc
|
88f55d8a6765d176973bfa0ce7d1000305ad6770 |
|
04-Dec-2015 |
Alex Vakulenko <avakulenko@google.com> |
Add "component" property to command instance When sending commands, we'll use "component" to route the command to the target component it was designated for. As a temporary stop-gap, use "device" as the component name before we have full implementation of component/trait schema model. Also removed CommandDictionary from CommandInstance::FromJson since the validation will be done outside of JSON parsing code in the future Component Manager class. BUG: 25841719 Change-Id: I5c649c257fb48ecaaedc1ced84931009f94c2bb3 Reviewed-on: https://weave-review.googlesource.com/1764 Reviewed-by: Vitaly Buka <vitalybuka@google.com>
/external/libweave/src/commands/command_queue.cc
|
52d006a131c61955e3a8a915d7f22941b3a4eee2 |
|
22-Nov-2015 |
Vitaly Buka <vitalybuka@google.com> |
Support GCC 4.7 Removed constructors inheritance. Removed emplace use. Change-Id: I45224e3232d39ff22f758c7e387be2c9aff5eae0 Reviewed-on: https://weave-review.googlesource.com/1606 Reviewed-by: Vitaly Buka <vitalybuka@google.com>
/external/libweave/src/commands/command_queue.cc
|
5a1f600e9d7d26c36b3e22ff0dc0ae9e3b2425fc |
|
02-Nov-2015 |
Paul Westbrook <pwestbro@google.com> |
Remove the unneeded libweave directory Change-Id: I30fd8c5626cf83da6415ffa14a2019ef43be9916 Reviewed-on: https://weave-review.googlesource.com/1450 Reviewed-by: Paul Westbrook <pwestbro@google.com>
/external/libweave/src/commands/command_queue.cc
|