{{theTime}}

Search This Blog

Total Pageviews

Singleton Design Pattern Java Implementation

public class SingletonClass {

private SingletonClass singletonClass ;

private SingletonClass(){
}

public static SingletonClass getInstance(){
if (null != singletonClass) {
singletonClass = new SingletonClass() ;
}
return singletonClass ;
}
}

No comments:

Kafka Consumer Parallelism

Kafka Parallel Consumer Options: Key-level parallelism:  Multiple threads process the messages from a single partition in parallel while ma...