Skip to content

Commit

Permalink
change package (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
himadieievsv authored Jan 4, 2024
1 parent 85b0366 commit 1c36420
Show file tree
Hide file tree
Showing 51 changed files with 296 additions and 153 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ allprojects {
apply(plugin = "org.jlleitschuh.gradle.ktlint")
apply(plugin = "idea")

group = "io.redpulsar"
group = "me.himadieiev.redpulsar"
version = "0.1.1"

repositories {
Expand Down
2 changes: 1 addition & 1 deletion redpulsar-core/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
group = "io.redpulsar-core"
group = "me.himadieiev.redpulsar-core"

dependencies {}
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
package io.redpulsar.core.locks
package me.himadieiev.redpulsar.core.locks

import io.redpulsar.core.locks.abstracts.backends.CountDownLatchBackend
import io.redpulsar.core.locks.api.CallResult
import io.redpulsar.core.locks.api.CountDownLatch
import io.redpulsar.core.locks.excecutors.executeWithRetry
import io.redpulsar.core.locks.excecutors.waitAnyJobs
import io.redpulsar.core.utils.failsafe
import kotlinx.coroutines.CoroutineName
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.async
import kotlinx.coroutines.flow.first
import kotlinx.coroutines.runBlocking
import kotlinx.coroutines.withTimeout
import me.himadieiev.redpulsar.core.locks.abstracts.backends.CountDownLatchBackend
import me.himadieiev.redpulsar.core.locks.api.CallResult
import me.himadieiev.redpulsar.core.locks.api.CountDownLatch
import me.himadieiev.redpulsar.core.locks.excecutors.executeWithRetry
import me.himadieiev.redpulsar.core.locks.excecutors.waitAnyJobs
import me.himadieiev.redpulsar.core.utils.failsafe
import java.util.UUID
import java.util.concurrent.atomic.AtomicInteger
import kotlin.coroutines.cancellation.CancellationException
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package io.redpulsar.core.locks
package me.himadieiev.redpulsar.core.locks

import io.redpulsar.core.locks.abstracts.AbstractMultyInstanceLock
import io.redpulsar.core.locks.abstracts.backends.LocksBackend
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import me.himadieiev.redpulsar.core.locks.abstracts.AbstractMultyInstanceLock
import me.himadieiev.redpulsar.core.locks.abstracts.backends.LocksBackend
import kotlin.time.Duration
import kotlin.time.Duration.Companion.milliseconds

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package io.redpulsar.core.locks
package me.himadieiev.redpulsar.core.locks

import io.redpulsar.core.locks.abstracts.AbstractMultyInstanceLock
import io.redpulsar.core.locks.abstracts.backends.LocksBackend
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Dispatchers
import me.himadieiev.redpulsar.core.locks.abstracts.AbstractMultyInstanceLock
import me.himadieiev.redpulsar.core.locks.abstracts.backends.LocksBackend
import kotlin.time.Duration
import kotlin.time.Duration.Companion.milliseconds

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package io.redpulsar.core.locks
package me.himadieiev.redpulsar.core.locks

import io.redpulsar.core.locks.abstracts.AbstractLock
import io.redpulsar.core.locks.abstracts.backends.LocksBackend
import kotlinx.coroutines.delay
import kotlinx.coroutines.runBlocking
import me.himadieiev.redpulsar.core.locks.abstracts.AbstractLock
import me.himadieiev.redpulsar.core.locks.abstracts.backends.LocksBackend
import kotlin.time.Duration
import kotlin.time.Duration.Companion.milliseconds

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package io.redpulsar.core.locks.abstracts
package me.himadieiev.redpulsar.core.locks.abstracts

import io.redpulsar.core.locks.abstracts.backends.LocksBackend
import io.redpulsar.core.locks.api.Lock
import me.himadieiev.redpulsar.core.locks.abstracts.backends.LocksBackend
import me.himadieiev.redpulsar.core.locks.api.Lock
import mu.KotlinLogging
import java.util.UUID
import kotlin.time.Duration
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package io.redpulsar.core.locks.abstracts
package me.himadieiev.redpulsar.core.locks.abstracts

import io.redpulsar.core.locks.abstracts.backends.LocksBackend
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Job
import kotlinx.coroutines.delay
import kotlinx.coroutines.joinAll
import kotlinx.coroutines.launch
import kotlinx.coroutines.runBlocking
import me.himadieiev.redpulsar.core.locks.abstracts.backends.LocksBackend
import java.util.concurrent.atomic.AtomicInteger
import kotlin.coroutines.cancellation.CancellationException
import kotlin.system.measureTimeMillis
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package io.redpulsar.core.locks.abstracts
package me.himadieiev.redpulsar.core.locks.abstracts

import io.redpulsar.core.utils.failsafe
import kotlinx.coroutines.flow.Flow
import me.himadieiev.redpulsar.core.utils.failsafe
import java.util.NoSuchElementException

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package io.redpulsar.core.locks.abstracts.backends
package me.himadieiev.redpulsar.core.locks.abstracts.backends

import io.redpulsar.core.locks.abstracts.Backend
import kotlinx.coroutines.flow.Flow
import me.himadieiev.redpulsar.core.locks.abstracts.Backend
import kotlin.time.Duration

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package io.redpulsar.core.locks.abstracts.backends
package me.himadieiev.redpulsar.core.locks.abstracts.backends

import io.redpulsar.core.locks.abstracts.Backend
import me.himadieiev.redpulsar.core.locks.abstracts.Backend
import kotlin.time.Duration

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.redpulsar.core.locks.api
package me.himadieiev.redpulsar.core.locks.api

import kotlin.time.Duration

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.redpulsar.core.locks.api
package me.himadieiev.redpulsar.core.locks.api

import kotlin.time.Duration
import kotlin.time.Duration.Companion.seconds
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.redpulsar.core.locks.excecutors
package me.himadieiev.redpulsar.core.locks.excecutors

import kotlinx.coroutines.Job
import kotlinx.coroutines.joinAll
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package io.redpulsar.core.locks.excecutors
package me.himadieiev.redpulsar.core.locks.excecutors

import io.redpulsar.core.locks.abstracts.Backend
import io.redpulsar.core.utils.withRetry
import io.redpulsar.core.utils.withTimeoutInThread
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.Job
import kotlinx.coroutines.launch
import kotlinx.coroutines.runBlocking
import me.himadieiev.redpulsar.core.locks.abstracts.Backend
import me.himadieiev.redpulsar.core.utils.withRetry
import me.himadieiev.redpulsar.core.utils.withTimeoutInThread
import java.util.Collections
import kotlin.system.measureTimeMillis
import kotlin.time.Duration
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.redpulsar.core.utils
package me.himadieiev.redpulsar.core.utils

import mu.KotlinLogging

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.redpulsar.core.utils
package me.himadieiev.redpulsar.core.utils

import kotlinx.coroutines.delay
import kotlinx.coroutines.runBlocking
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.redpulsar.core.utils
package me.himadieiev.redpulsar.core.utils

import mu.KotlinLogging

Expand Down
Loading

0 comments on commit 1c36420

Please sign in to comment.