Rename package and app.

This commit is contained in:
Mark Nellemann 2023-06-29 20:40:27 +02:00
parent 5b14a7679f
commit 85a0ce4204
12 changed files with 17 additions and 17 deletions

View file

@ -29,7 +29,7 @@ java {
} }
application { application {
mainClass = 'biz.nellemann.memstress.Application' mainClass = 'biz.nellemann.jmemperf.Application'
} }
tasks.named('test') { tasks.named('test') {

View file

@ -1,3 +1,3 @@
projectId = memstress projectId = jmemperf
projectGroup = biz.nellemann.memstress projectGroup = biz.nellemann.jmemperf
projectVersion = 0.0.1 projectVersion = 0.0.1

View file

@ -12,4 +12,4 @@ plugins {
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.4.0' id 'org.gradle.toolchains.foojay-resolver-convention' version '0.4.0'
} }
rootProject.name = 'memstress' rootProject.name = 'jmemperf'

View file

@ -1,4 +1,4 @@
package biz.nellemann.memstress; package biz.nellemann.jmemperf;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
@ -7,7 +7,7 @@ import picocli.CommandLine;
import java.time.Duration; import java.time.Duration;
import java.util.concurrent.Callable; import java.util.concurrent.Callable;
@CommandLine.Command(name = "memstress", mixinStandardHelpOptions = true, versionProvider = VersionProvider.class, description = "Memory performance measurement tool.") @CommandLine.Command(name = "jmemperf", mixinStandardHelpOptions = true, versionProvider = VersionProvider.class, description = "Memory performance measurement tool.")
public class Application implements Callable<Integer> { public class Application implements Callable<Integer> {
final Logger log = LoggerFactory.getLogger(Application.class); final Logger log = LoggerFactory.getLogger(Application.class);

View file

@ -1,8 +1,8 @@
package biz.nellemann.memstress; package biz.nellemann.jmemperf;
import biz.nellemann.memstress.db.Database; import biz.nellemann.jmemperf.db.Database;
import biz.nellemann.memstress.db.DatabaseManager; import biz.nellemann.jmemperf.db.DatabaseManager;
import biz.nellemann.memstress.db.Table; import biz.nellemann.jmemperf.db.Table;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;

View file

@ -1,4 +1,4 @@
package biz.nellemann.memstress; package biz.nellemann.jmemperf;
import picocli.CommandLine; import picocli.CommandLine;

View file

@ -1,7 +1,7 @@
/** /**
* Example taken from: https://medium.com/@mithoonkumar/design-an-in-memory-nosql-database-ood-428d48b68dfa * Example taken from: https://medium.com/@mithoonkumar/design-an-in-memory-nosql-database-ood-428d48b68dfa
*/ */
package biz.nellemann.memstress.db; package biz.nellemann.jmemperf.db;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;

View file

@ -1,7 +1,7 @@
/** /**
* Example taken from: https://medium.com/@mithoonkumar/design-an-in-memory-nosql-database-ood-428d48b68dfa * Example taken from: https://medium.com/@mithoonkumar/design-an-in-memory-nosql-database-ood-428d48b68dfa
*/ */
package biz.nellemann.memstress.db; package biz.nellemann.jmemperf.db;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;

View file

@ -1,7 +1,7 @@
/** /**
* Example taken from: https://medium.com/@mithoonkumar/design-an-in-memory-nosql-database-ood-428d48b68dfa * Example taken from: https://medium.com/@mithoonkumar/design-an-in-memory-nosql-database-ood-428d48b68dfa
*/ */
package biz.nellemann.memstress.db; package biz.nellemann.jmemperf.db;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;

View file

@ -1,7 +1,7 @@
/** /**
* Example taken from: https://medium.com/@mithoonkumar/design-an-in-memory-nosql-database-ood-428d48b68dfa * Example taken from: https://medium.com/@mithoonkumar/design-an-in-memory-nosql-database-ood-428d48b68dfa
*/ */
package biz.nellemann.memstress.db; package biz.nellemann.jmemperf.db;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;

View file

@ -3,7 +3,7 @@
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<withJansi>false</withJansi> <withJansi>false</withJansi>
<encoder> <encoder>
<pattern>%cyan(%d{yyyy-MM-dd HH:mm:ss.SSS}) %gray([%-10thread]) %highlight(%-5level) %magenta(%logger{12}) - %msg%n</pattern> <pattern>%cyan(%d{yyyy-MM-dd HH:mm:ss.SSS}) - %msg%n</pattern>
</encoder> </encoder>
</appender> </appender>

View file

@ -1,7 +1,7 @@
/* /*
* This Spock specification was generated by the Gradle 'init' task. * This Spock specification was generated by the Gradle 'init' task.
*/ */
package biz.nellemann.memstress package biz.nellemann.jmemperf
import spock.lang.Specification import spock.lang.Specification