1 | "use strict";
|
2 |
|
3 | Object.defineProperty(exports, "__esModule", {
|
4 | value: true
|
5 | });
|
6 |
|
7 | var _CacheEntry = require("./CacheEntry");
|
8 |
|
9 | var _CacheEntry2 = _interopRequireDefault(_CacheEntry);
|
10 |
|
11 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
12 |
|
13 |
|
14 |
|
15 |
|
16 | class CacheFactory {
|
17 | static get $dependencies() {
|
18 | return [];
|
19 | }
|
20 | |
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 | createCacheEntry(value, ttl) {
|
31 | return new _CacheEntry2.default(value, ttl);
|
32 | }
|
33 |
|
34 | }
|
35 |
|
36 | exports.default = CacheFactory;
|
37 |
|
38 | typeof $IMA !== 'undefined' && $IMA !== null && $IMA.Loader && $IMA.Loader.register('ima/cache/CacheFactory', [], function (_export, _context) {
|
39 | 'use strict';
|
40 | return {
|
41 | setters: [],
|
42 | execute: function () {
|
43 | _export('default', exports.default);
|
44 | }
|
45 | };
|
46 | });
|