Daniel Nephin
5fe7043439
agent/cache: Make all cache options RegisterOptions
...
Previously the SupportsBlocking option was specified by a method on the
type, and all the other options were specified from RegisterOptions.
This change moves RegisterOptions to a method on the type, and moves
SupportsBlocking into the options struct.
Currently there are only 2 cache-types. So all cache-types can implement
this method by embedding a struct with those predefined values. In the
future if a cache type needs to be registered more than once with different
options it can remove the embedded type and implement the method in a way
that allows for paramaterization.
2020-04-16 18:56:34 -04:00
..
2020-02-06 15:30:58 +01:00
2020-03-10 11:15:22 -05:00
2020-04-16 18:56:34 -04:00
2020-04-16 18:56:34 -04:00
2020-02-10 09:27:12 -07:00
2020-04-16 14:00:48 -07:00
2020-03-24 15:22:01 -04:00
2020-04-16 14:00:48 -07:00
2020-04-15 12:09:56 -04:00
2020-03-09 15:59:02 -05:00
2019-12-09 21:26:41 -05:00
2020-03-09 15:59:02 -05:00
2020-04-16 18:56:34 -04:00
2020-03-09 15:59:02 -05:00
2020-04-16 14:00:48 -07:00
2020-02-04 13:58:56 -07:00
2020-04-16 14:00:48 -07:00
2020-03-31 16:13:44 -04:00
2019-10-29 11:13:36 -07:00
2020-03-31 16:13:44 -04:00
2020-03-25 10:34:24 -04:00
2020-03-26 12:34:31 -04:00
2020-01-29 11:16:08 -06:00
2020-03-31 17:14:55 -04:00
2020-04-15 12:09:56 -04:00
2020-02-04 13:58:56 -07:00
2020-04-02 09:59:23 +02:00
2020-04-16 18:56:34 -04:00
2020-02-11 15:19:16 +00:00
2020-03-31 16:13:44 -04:00
2020-02-10 10:40:44 -05:00
2019-12-09 21:26:41 -05:00
2020-04-16 14:00:48 -07:00
2020-01-29 19:12:48 -05:00
2020-01-13 15:51:40 -05:00
2020-03-31 16:13:44 -04:00
2019-11-21 17:40:29 +00:00
2020-03-31 16:13:44 -04:00
2019-10-29 11:13:36 -07:00
2020-03-31 16:13:44 -04:00
2020-01-24 10:04:58 -05:00
2019-12-09 21:26:41 -05:00
2020-04-16 14:00:48 -07:00
2020-04-16 14:00:48 -07:00
2020-03-31 16:13:44 -04:00
2020-01-28 17:50:41 -06:00
2020-03-09 15:59:02 -05:00
2020-03-31 16:13:44 -04:00
2020-02-10 10:40:44 -05:00
2020-02-10 09:27:12 -07:00
2020-03-31 16:13:44 -04:00
2020-01-27 07:00:33 -06:00
2020-03-25 10:34:24 -04:00
2020-03-31 17:14:55 -04:00
2020-03-03 13:18:35 +00:00
2020-03-31 16:13:44 -04:00
2020-01-29 17:30:38 -05:00
2020-03-31 17:14:55 -04:00
2020-02-13 20:35:09 +01:00
2020-03-31 16:13:44 -04:00
2020-03-09 11:13:40 +01:00
2020-03-31 16:13:44 -04:00
2019-10-29 11:13:36 -07:00
2020-03-31 16:13:44 -04:00
2020-01-17 09:54:17 -05:00
2020-03-31 16:13:44 -04:00
2020-01-28 17:50:41 -06:00
2020-03-09 15:59:02 -05:00
2020-03-09 15:59:02 -05:00
2020-03-31 16:13:44 -04:00
2020-03-31 17:14:55 -04:00
2020-03-26 10:20:56 -06:00
2020-03-31 16:13:44 -04:00
2020-03-05 15:34:55 -05:00
2020-03-31 17:14:55 -04:00
2020-03-09 15:59:02 -05:00
2020-03-31 16:13:44 -04:00
2020-04-13 12:32:57 -04:00
2020-03-31 16:13:44 -04:00
2020-03-31 17:14:55 -04:00
2020-01-24 09:27:25 -05:00
2020-03-31 16:13:44 -04:00
2020-03-09 11:13:40 +01:00
2020-04-08 12:37:24 -06:00
2020-04-15 12:09:56 -04:00
2020-03-31 16:13:44 -04:00
2020-02-07 15:50:24 -06:00
2020-04-03 14:23:03 +02:00
2020-02-07 15:50:24 -06:00
2020-01-28 17:50:41 -06:00
2020-01-28 17:50:41 -06:00