Configuration.smali
.class public Lcom/path/android/jobqueue/config/Configuration;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/path/android/jobqueue/config/Configuration$Builder;
}
.end annotation
# static fields
.field public static final DEFAULT_ID:Ljava/lang/String; = "default_job_manager"
.field public static final DEFAULT_LOAD_FACTOR_PER_CONSUMER:I = 0x3
.field public static final DEFAULT_THREAD_KEEP_ALIVE_SECONDS:I = 0xf
.field public static final MAX_CONSUMER_COUNT:I = 0x5
.field public static final MIN_CONSUMER_COUNT:I
# instance fields
.field private consumerKeepAlive:I
.field private customLogger:Lcom/path/android/jobqueue/log/CustomLogger;
.field private dependencyInjector:Lcom/path/android/jobqueue/di/DependencyInjector;
.field private id:Ljava/lang/String;
.field private inTestMode:Z
.field private loadFactor:I
.field private maxConsumerCount:I
.field private minConsumerCount:I
.field private networkUtil:Lcom/path/android/jobqueue/network/NetworkUtil;
.field private queueFactory:Lcom/path/android/jobqueue/QueueFactory;
# direct methods
.method private constructor <init>()V
.registers 3
.line 2
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const-string v0, "default_job_manager"
.line 3
iput-object v0, p0, Lcom/path/android/jobqueue/config/Configuration;->id:Ljava/lang/String;
const/4 v0, 0x5
.line 4
iput v0, p0, Lcom/path/android/jobqueue/config/Configuration;->maxConsumerCount:I
const/4 v0, 0x0
.line 5
iput v0, p0, Lcom/path/android/jobqueue/config/Configuration;->minConsumerCount:I
const/16 v1, 0xf
.line 6
iput v1, p0, Lcom/path/android/jobqueue/config/Configuration;->consumerKeepAlive:I
const/4 v1, 0x3
.line 7
iput v1, p0, Lcom/path/android/jobqueue/config/Configuration;->loadFactor:I
.line 8
iput-boolean v0, p0, Lcom/path/android/jobqueue/config/Configuration;->inTestMode:Z
return-void
.end method
.method public synthetic constructor <init>(Lcom/path/android/jobqueue/config/Configuration$1;)V
.registers 2
.line 1
invoke-direct {p0}, Lcom/path/android/jobqueue/config/Configuration;-><init>()V
return-void
.end method
.method public static synthetic access$1002(Lcom/path/android/jobqueue/config/Configuration;Z)Z
.registers 2
iput-boolean p1, p0, Lcom/path/android/jobqueue/config/Configuration;->inTestMode:Z
return p1
.end method
.method public static synthetic access$102(Lcom/path/android/jobqueue/config/Configuration;Ljava/lang/String;)Ljava/lang/String;
.registers 2
iput-object p1, p0, Lcom/path/android/jobqueue/config/Configuration;->id:Ljava/lang/String;
return-object p1
.end method
.method public static synthetic access$202(Lcom/path/android/jobqueue/config/Configuration;I)I
.registers 2
iput p1, p0, Lcom/path/android/jobqueue/config/Configuration;->consumerKeepAlive:I
return p1
.end method
.method public static synthetic access$300(Lcom/path/android/jobqueue/config/Configuration;)Lcom/path/android/jobqueue/QueueFactory;
.registers 1
iget-object p0, p0, Lcom/path/android/jobqueue/config/Configuration;->queueFactory:Lcom/path/android/jobqueue/QueueFactory;
return-object p0
.end method
.method public static synthetic access$302(Lcom/path/android/jobqueue/config/Configuration;Lcom/path/android/jobqueue/QueueFactory;)Lcom/path/android/jobqueue/QueueFactory;
.registers 2
iput-object p1, p0, Lcom/path/android/jobqueue/config/Configuration;->queueFactory:Lcom/path/android/jobqueue/QueueFactory;
return-object p1
.end method
.method public static synthetic access$400(Lcom/path/android/jobqueue/config/Configuration;)Lcom/path/android/jobqueue/network/NetworkUtil;
.registers 1
iget-object p0, p0, Lcom/path/android/jobqueue/config/Configuration;->networkUtil:Lcom/path/android/jobqueue/network/NetworkUtil;
return-object p0
.end method
.method public static synthetic access$402(Lcom/path/android/jobqueue/config/Configuration;Lcom/path/android/jobqueue/network/NetworkUtil;)Lcom/path/android/jobqueue/network/NetworkUtil;
.registers 2
iput-object p1, p0, Lcom/path/android/jobqueue/config/Configuration;->networkUtil:Lcom/path/android/jobqueue/network/NetworkUtil;
return-object p1
.end method
.method public static synthetic access$502(Lcom/path/android/jobqueue/config/Configuration;Lcom/path/android/jobqueue/di/DependencyInjector;)Lcom/path/android/jobqueue/di/DependencyInjector;
.registers 2
iput-object p1, p0, Lcom/path/android/jobqueue/config/Configuration;->dependencyInjector:Lcom/path/android/jobqueue/di/DependencyInjector;
return-object p1
.end method
.method public static synthetic access$602(Lcom/path/android/jobqueue/config/Configuration;I)I
.registers 2
iput p1, p0, Lcom/path/android/jobqueue/config/Configuration;->maxConsumerCount:I
return p1
.end method
.method public static synthetic access$702(Lcom/path/android/jobqueue/config/Configuration;I)I
.registers 2
iput p1, p0, Lcom/path/android/jobqueue/config/Configuration;->minConsumerCount:I
return p1
.end method
.method public static synthetic access$802(Lcom/path/android/jobqueue/config/Configuration;Lcom/path/android/jobqueue/log/CustomLogger;)Lcom/path/android/jobqueue/log/CustomLogger;
.registers 2
iput-object p1, p0, Lcom/path/android/jobqueue/config/Configuration;->customLogger:Lcom/path/android/jobqueue/log/CustomLogger;
return-object p1
.end method
.method public static synthetic access$902(Lcom/path/android/jobqueue/config/Configuration;I)I
.registers 2
iput p1, p0, Lcom/path/android/jobqueue/config/Configuration;->loadFactor:I
return p1
.end method
# virtual methods
.method public getConsumerKeepAlive()I
.registers 2
iget v0, p0, Lcom/path/android/jobqueue/config/Configuration;->consumerKeepAlive:I
return v0
.end method
.method public getCustomLogger()Lcom/path/android/jobqueue/log/CustomLogger;
.registers 2
iget-object v0, p0, Lcom/path/android/jobqueue/config/Configuration;->customLogger:Lcom/path/android/jobqueue/log/CustomLogger;
return-object v0
.end method
.method public getDependencyInjector()Lcom/path/android/jobqueue/di/DependencyInjector;
.registers 2
iget-object v0, p0, Lcom/path/android/jobqueue/config/Configuration;->dependencyInjector:Lcom/path/android/jobqueue/di/DependencyInjector;
return-object v0
.end method
.method public getId()Ljava/lang/String;
.registers 2
iget-object v0, p0, Lcom/path/android/jobqueue/config/Configuration;->id:Ljava/lang/String;
return-object v0
.end method
.method public getLoadFactor()I
.registers 2
iget v0, p0, Lcom/path/android/jobqueue/config/Configuration;->loadFactor:I
return v0
.end method
.method public getMaxConsumerCount()I
.registers 2
iget v0, p0, Lcom/path/android/jobqueue/config/Configuration;->maxConsumerCount:I
return v0
.end method
.method public getMinConsumerCount()I
.registers 2
iget v0, p0, Lcom/path/android/jobqueue/config/Configuration;->minConsumerCount:I
return v0
.end method
.method public getNetworkUtil()Lcom/path/android/jobqueue/network/NetworkUtil;
.registers 2
iget-object v0, p0, Lcom/path/android/jobqueue/config/Configuration;->networkUtil:Lcom/path/android/jobqueue/network/NetworkUtil;
return-object v0
.end method
.method public getQueueFactory()Lcom/path/android/jobqueue/QueueFactory;
.registers 2
iget-object v0, p0, Lcom/path/android/jobqueue/config/Configuration;->queueFactory:Lcom/path/android/jobqueue/QueueFactory;
return-object v0
.end method
.method public isInTestMode()Z
.registers 2
iget-boolean v0, p0, Lcom/path/android/jobqueue/config/Configuration;->inTestMode:Z
return v0
.end method