mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Many renames, API refactorings, classes/interfaces made private to net.openhft.chronicle.map package
Conflicts: src/main/java/net/openhft/chronicle/map/StatelessChronicleMap.java src/test/java/net/openhft/chronicle/map/ChronicleMapTest.java
This commit is contained in:
@@ -29,7 +29,9 @@ import static org.junit.Assert.fail;
|
||||
public class AcquireGetUsingMain {
|
||||
public static void main(String[] args) throws Exception {
|
||||
File file = new File(System.getProperty("java.io.tmpdir") + "/test1");
|
||||
ChronicleMap<String, Data> theSharedMap = OffHeapUpdatableChronicleMapBuilder.of(String.class, Data.class).file(file).create();
|
||||
ChronicleMap<String, Data> theSharedMap =
|
||||
OffHeapUpdatableChronicleMapBuilder.of(String.class, Data.class)
|
||||
.createPersistedTo(file);
|
||||
Data data = DataValueClasses.newDirectReference(Data.class);
|
||||
String processType = "testkey";
|
||||
if (theSharedMap.getUsing(processType, data) == null) {
|
||||
|
||||
Reference in New Issue
Block a user