fun <reified T : Task> getAll(): List<T!>
@Synchronized fun <T : Task> getAll(type: Class<T>): List<T!>