/** * @param executor * the executor to set */ public void setExecutor(ThreadPoolExecutor executor) { this.executor = executor; if (this.memoryUsage != null) { this.memoryUsage.setExecutor(this.executor); } if (this.storeUsage != null) { this.storeUsage.setExecutor(this.executor); } if (this.tempUsage != null) { this.tempUsage.setExecutor(this.executor); } if(this.jobSchedulerUsage != null) { this.jobSchedulerUsage.setExecutor(this.executor); } }
public void setStoreUsage(StoreUsage storeUsage) { if (storeUsage.getStore() == null) { storeUsage.setStore(this.storeUsage.getStore()); } if (storeUsage.getName() == null) { storeUsage.setName(this.storeUsage.getName()); } if (parent != null) { storeUsage.setParent(parent.storeUsage); } this.storeUsage = storeUsage; this.storeUsage.setExecutor(executor); }
public SystemUsage(String name, PersistenceAdapter adapter, PListStore tempStore, JobSchedulerStore jobSchedulerStore) { this.parent = null; this.name = name; this.memoryUsage = new MemoryUsage(name + ":memory"); this.storeUsage = new StoreUsage(name + ":store", adapter); this.tempUsage = new TempUsage(name + ":temp", tempStore); this.jobSchedulerUsage = new JobSchedulerUsage(name + ":jobScheduler", jobSchedulerStore); this.memoryUsage.setExecutor(getExecutor()); this.storeUsage.setExecutor(getExecutor()); this.tempUsage.setExecutor(getExecutor()); }
public SystemUsage(SystemUsage parent, String name) { this.parent = parent; this.executor = parent.getExecutor(); this.name = name; this.memoryUsage = new MemoryUsage(parent.memoryUsage, name + ":memory"); this.storeUsage = new StoreUsage(parent.storeUsage, name + ":store"); this.tempUsage = new TempUsage(parent.tempUsage, name + ":temp"); this.jobSchedulerUsage = new JobSchedulerUsage(parent.jobSchedulerUsage, name + ":jobScheduler"); this.memoryUsage.setExecutor(getExecutor()); this.storeUsage.setExecutor(getExecutor()); this.tempUsage.setExecutor(getExecutor()); }
/** * @param executor * the executor to set */ public void setExecutor(ThreadPoolExecutor executor) { this.executor = executor; if (this.memoryUsage != null) { this.memoryUsage.setExecutor(this.executor); } if (this.storeUsage != null) { this.storeUsage.setExecutor(this.executor); } if (this.tempUsage != null) { this.tempUsage.setExecutor(this.executor); } } }
/** * @param executor * the executor to set */ public void setExecutor(ThreadPoolExecutor executor) { this.executor = executor; if (this.memoryUsage != null) { this.memoryUsage.setExecutor(this.executor); } if (this.storeUsage != null) { this.storeUsage.setExecutor(this.executor); } if (this.tempUsage != null) { this.tempUsage.setExecutor(this.executor); } if(this.jobSchedulerUsage != null) { this.jobSchedulerUsage.setExecutor(this.executor); } }
/** * @param executor * the executor to set */ public void setExecutor(ThreadPoolExecutor executor) { this.executor = executor; if (this.memoryUsage != null) { this.memoryUsage.setExecutor(this.executor); } if (this.storeUsage != null) { this.storeUsage.setExecutor(this.executor); } if (this.tempUsage != null) { this.tempUsage.setExecutor(this.executor); } if(this.jobSchedulerUsage != null) { this.jobSchedulerUsage.setExecutor(this.executor); } }
/** * @param executor * the executor to set */ public void setExecutor(ThreadPoolExecutor executor) { this.executor = executor; if (this.memoryUsage != null) { this.memoryUsage.setExecutor(this.executor); } if (this.storeUsage != null) { this.storeUsage.setExecutor(this.executor); } if (this.tempUsage != null) { this.tempUsage.setExecutor(this.executor); } if(this.jobSchedulerUsage != null) { this.jobSchedulerUsage.setExecutor(this.executor); } }
public void setStoreUsage(StoreUsage storeUsage) { if (storeUsage.getStore() == null) { storeUsage.setStore(this.storeUsage.getStore()); } if (storeUsage.getName() == null) { storeUsage.setName(this.storeUsage.getName()); } if (parent != null) { storeUsage.setParent(parent.storeUsage); } this.storeUsage = storeUsage; this.storeUsage.setExecutor(executor); }
public void setStoreUsage(StoreUsage storeUsage) { if (storeUsage.getStore() == null) { storeUsage.setStore(this.storeUsage.getStore()); } if (storeUsage.getName() == null) { storeUsage.setName(this.storeUsage.getName()); } if (parent != null) { storeUsage.setParent(parent.storeUsage); } this.storeUsage = storeUsage; this.storeUsage.setExecutor(executor); }
public void setStoreUsage(StoreUsage storeUsage) { if (storeUsage.getStore() == null) { storeUsage.setStore(this.storeUsage.getStore()); } if (storeUsage.getName() == null) { storeUsage.setName(this.storeUsage.getName()); } if (parent != null) { storeUsage.setParent(parent.storeUsage); } this.storeUsage = storeUsage; this.storeUsage.setExecutor(executor); }
public void setStoreUsage(StoreUsage storeUsage) { if (storeUsage.getStore() == null) { storeUsage.setStore(this.storeUsage.getStore()); } if (storeUsage.getName() == null) { storeUsage.setName(this.storeUsage.getName()); } if (parent != null) { storeUsage.setParent(parent.storeUsage); } this.storeUsage = storeUsage; this.storeUsage.setExecutor(executor); }
public SystemUsage(String name, PersistenceAdapter adapter, PListStore tempStore) { this.parent = null; this.name = name; this.memoryUsage = new MemoryUsage(name + ":memory"); this.storeUsage = new StoreUsage(name + ":store", adapter); this.tempUsage = new TempUsage(name + ":temp", tempStore); this.memoryUsage.setExecutor(getExecutor()); this.storeUsage.setExecutor(getExecutor()); this.tempUsage.setExecutor(getExecutor()); }
public SystemUsage(SystemUsage parent, String name) { this.parent = parent; this.executor = parent.getExecutor(); this.name = name; this.memoryUsage = new MemoryUsage(parent.memoryUsage, name + ":memory"); this.storeUsage = new StoreUsage(parent.storeUsage, name + ":store"); this.tempUsage = new TempUsage(parent.tempUsage, name + ":temp"); this.memoryUsage.setExecutor(getExecutor()); this.storeUsage.setExecutor(getExecutor()); this.tempUsage.setExecutor(getExecutor()); }
public SystemUsage(String name, PersistenceAdapter adapter, PListStore tempStore, JobSchedulerStore jobSchedulerStore) { this.parent = null; this.name = name; this.memoryUsage = new MemoryUsage(name + ":memory"); this.storeUsage = new StoreUsage(name + ":store", adapter); this.tempUsage = new TempUsage(name + ":temp", tempStore); this.jobSchedulerUsage = new JobSchedulerUsage(name + ":jobScheduler", jobSchedulerStore); this.memoryUsage.setExecutor(getExecutor()); this.storeUsage.setExecutor(getExecutor()); this.tempUsage.setExecutor(getExecutor()); }
public SystemUsage(String name, PersistenceAdapter adapter, PListStore tempStore, JobSchedulerStore jobSchedulerStore) { this.parent = null; this.name = name; this.memoryUsage = new MemoryUsage(name + ":memory"); this.storeUsage = new StoreUsage(name + ":store", adapter); this.tempUsage = new TempUsage(name + ":temp", tempStore); this.jobSchedulerUsage = new JobSchedulerUsage(name + ":jobScheduler", jobSchedulerStore); this.memoryUsage.setExecutor(getExecutor()); this.storeUsage.setExecutor(getExecutor()); this.tempUsage.setExecutor(getExecutor()); }
public SystemUsage(String name, PersistenceAdapter adapter, PListStore tempStore, JobSchedulerStore jobSchedulerStore) { this.parent = null; this.name = name; this.memoryUsage = new MemoryUsage(name + ":memory"); this.storeUsage = new StoreUsage(name + ":store", adapter); this.tempUsage = new TempUsage(name + ":temp", tempStore); this.jobSchedulerUsage = new JobSchedulerUsage(name + ":jobScheduler", jobSchedulerStore); this.memoryUsage.setExecutor(getExecutor()); this.storeUsage.setExecutor(getExecutor()); this.tempUsage.setExecutor(getExecutor()); }
public SystemUsage(SystemUsage parent, String name) { this.parent = parent; this.executor = parent.getExecutor(); this.name = name; this.memoryUsage = new MemoryUsage(parent.memoryUsage, name + ":memory"); this.storeUsage = new StoreUsage(parent.storeUsage, name + ":store"); this.tempUsage = new TempUsage(parent.tempUsage, name + ":temp"); this.jobSchedulerUsage = new JobSchedulerUsage(parent.jobSchedulerUsage, name + ":jobScheduler"); this.memoryUsage.setExecutor(getExecutor()); this.storeUsage.setExecutor(getExecutor()); this.tempUsage.setExecutor(getExecutor()); }
public SystemUsage(SystemUsage parent, String name) { this.parent = parent; this.executor = parent.getExecutor(); this.name = name; this.memoryUsage = new MemoryUsage(parent.memoryUsage, name + ":memory"); this.storeUsage = new StoreUsage(parent.storeUsage, name + ":store"); this.tempUsage = new TempUsage(parent.tempUsage, name + ":temp"); this.jobSchedulerUsage = new JobSchedulerUsage(parent.jobSchedulerUsage, name + ":jobScheduler"); this.memoryUsage.setExecutor(getExecutor()); this.storeUsage.setExecutor(getExecutor()); this.tempUsage.setExecutor(getExecutor()); }
public SystemUsage(SystemUsage parent, String name) { this.parent = parent; this.executor = parent.getExecutor(); this.name = name; this.memoryUsage = new MemoryUsage(parent.memoryUsage, name + ":memory"); this.storeUsage = new StoreUsage(parent.storeUsage, name + ":store"); this.tempUsage = new TempUsage(parent.tempUsage, name + ":temp"); this.jobSchedulerUsage = new JobSchedulerUsage(parent.jobSchedulerUsage, name + ":jobScheduler"); this.memoryUsage.setExecutor(getExecutor()); this.storeUsage.setExecutor(getExecutor()); this.tempUsage.setExecutor(getExecutor()); }