]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.db.testing/src/org/simantics/db/testing/impl/ClientImpl.java
Less memory use for TG import when NamespaceMigrationStep is involved
[simantics/platform.git] / bundles / org.simantics.db.testing / src / org / simantics / db / testing / impl / ClientImpl.java
1 package org.simantics.db.testing.impl;
2
3
4 import org.simantics.db.exception.DatabaseException;
5 import org.simantics.db.testing.common.Client;
6
7 public class ClientImpl extends BaseClient implements Client {
8     private final String instanceName = "RefreshTestInstanceName" + random + "#";
9     private int instanceNumber = 0;
10     public ClientImpl(String name) throws DatabaseException {
11         super(name);
12     }
13     public String getInstanceName() {
14         return instanceName + (++instanceNumber);
15     }
16
17 }