Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-server
Commits
abb354ab
Unverified
Commit
abb354ab
authored
5 years ago
by
Daniel
Browse files
Options
Downloads
Patches
Plain Diff
FIX: Increased serialVersionUID of TransactionBenchmark et al.
parent
acc6fbde
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/caosdb/server/database/misc/TransactionBenchmark.java
+4
-5
4 additions, 5 deletions
...ava/caosdb/server/database/misc/TransactionBenchmark.java
with
4 additions
and
5 deletions
src/main/java/caosdb/server/database/misc/TransactionBenchmark.java
+
4
−
5
View file @
abb354ab
...
...
@@ -130,7 +130,7 @@ class Measurement implements Serializable {
class
RootBenchmark
extends
TransactionBenchmark
implements
ServerStat
{
private
static
final
long
serialVersionUID
=
807055410778382660
2
L
;
private
static
final
long
serialVersionUID
=
807055410778382660
3
L
;
private
transient
boolean
synced
=
false
;
/**
* Fetch old data (from before last shutdown) and fill it into this instance.
...
...
@@ -142,7 +142,6 @@ class RootBenchmark extends TransactionBenchmark implements ServerStat {
synchronized
(
this
.
measurements
)
{
final
Runnable
updater
=
new
Runnable
()
{
@Override
public
void
run
()
{
try
{
...
...
@@ -209,7 +208,7 @@ class RootBenchmark extends TransactionBenchmark implements ServerStat {
class
SubBenchmark
extends
TransactionBenchmark
{
private
static
final
long
serialVersionUID
=
32314791718919597
3
L
;
private
static
final
long
serialVersionUID
=
32314791718919597
4
L
;
private
final
String
name
;
public
SubBenchmark
(
String
name
)
{
...
...
@@ -271,7 +270,7 @@ class JdomConverter {
*/
public
abstract
class
TransactionBenchmark
implements
Serializable
{
private
static
final
long
serialVersionUID
=
-
891616382545049106
7
L
;
private
static
final
long
serialVersionUID
=
-
891616382545049106
8
L
;
private
static
final
TransactionBenchmark
rootService
=
new
RootBenchmark
().
init
();
public
final
transient
Logger
logger
=
LogManager
.
getLogger
(
getClass
());
protected
static
final
transient
boolean
isActive
=
...
...
@@ -426,7 +425,7 @@ public abstract class TransactionBenchmark implements Serializable {
return
this
.
createBenchmark
(
class1
.
getSimpleName
());
}
/** Return a String denoting where this TransactionBenchmark was created from. */
/** Return a String
(or null)
denoting where this TransactionBenchmark was created from. */
public
String
called_from
()
{
final
int
stackSize
=
stackTraceElements
.
length
;
if
(
stackSize
<=
5
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment