k.java
1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
package com.instabug.library.internal.d.a;
import com.instabug.library.model.j;
import com.instabug.library.util.InstabugSDKLogger;
import java.util.List;
public class k
{
public static g<String, j> a()
throws IllegalArgumentException
{
if (!e.a().b("sessions_memory_cache"))
{
InstabugSDKLogger.d(k.class, "In-memory Sessions cache not found, loading it from disk " + e.a().a("sessions_memory_cache"));
e.a().a("sessions_disk_cache", "sessions_memory_cache", new e.a() {});
InstabugSDKLogger.d(k.class, "In-memory Sessions cache restored from disk, " + e.a().a("sessions_memory_cache").b().size() + " elements restored");
}
InstabugSDKLogger.d(k.class, "In-memory Sessions cache found");
return (g)e.a().a("sessions_memory_cache");
}
public static void a(j paramj)
{
a().a(paramj.b(), paramj);
}
public static j b(j paramj)
{
return (j)a().a(paramj.b());
}
public static void b()
{
InstabugSDKLogger.d(k.class, "Checking old values cached " + e.a().a("sessions_disk_cache").b());
InstabugSDKLogger.d(k.class, "Saving In-memory Sessions cache to disk, no. of sessions to save is " + e.a().a("sessions_memory_cache").c());
e.a().a(e.a().a("sessions_memory_cache"), e.a().a("sessions_disk_cache"), new e.a() {});
InstabugSDKLogger.d(k.class, "In-memory Sessions cache had been persisted on-disk, " + e.a().a("sessions_disk_cache").b().size() + " sessions saved");
}
public static List<j> c()
{
return a().b();
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/com/instabug/library/internal/d/a/k.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/