HCOLL-167 added readme info for #### Stateless Client, and moved code to common.

This commit is contained in:
Rob Austin
2014-10-20 18:17:37 +01:00
parent 29eb1ae058
commit 8805c12051
16 changed files with 62 additions and 22 deletions
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package net.openhft.chronicle;
package net.openhft.chronicle.common;
import net.openhft.chronicle.map.ChronicleMap;
import net.openhft.chronicle.set.ChronicleSet;
@@ -1,4 +1,4 @@
package net.openhft.chronicle;
package net.openhft.chronicle.common;
import net.openhft.chronicle.map.*;
import net.openhft.chronicle.set.ChronicleSet;
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package net.openhft.chronicle;
package net.openhft.chronicle.common;
import java.io.Serializable;
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package net.openhft.chronicle;
package net.openhft.chronicle.common;
import org.slf4j.Logger;
@@ -1,4 +1,4 @@
package net.openhft.chronicle;
package net.openhft.chronicle.common;
import java.net.InetSocketAddress;
import java.util.concurrent.TimeUnit;
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package net.openhft.chronicle;
package net.openhft.chronicle.common;
import net.openhft.chronicle.map.ChronicleMap;
import net.openhft.chronicle.set.ChronicleSet;
@@ -16,7 +16,7 @@
package net.openhft.chronicle.map;
import net.openhft.chronicle.ChronicleHash;
import net.openhft.chronicle.common.ChronicleHash;
import net.openhft.chronicle.serialization.BytesReader;
import net.openhft.lang.io.Bytes;
import net.openhft.lang.io.serialization.BytesMarshaller;
@@ -16,7 +16,7 @@
package net.openhft.chronicle.map;
import net.openhft.chronicle.*;
import net.openhft.chronicle.common.*;
import net.openhft.chronicle.serialization.AgileBytesMarshaller;
import net.openhft.chronicle.serialization.MetaBytesInterop;
import net.openhft.chronicle.serialization.MetaBytesWriter;
@@ -64,7 +64,7 @@ import static net.openhft.chronicle.map.Objects.builderEquals;
*
* <p>Use static {@link #of(Class, Class)} method to obtain a {@code ChronicleMapBuilder} instance.
*
* <p>{@code ChronicleMapBuilder} is mutable, see a note in {@link ChronicleHashBuilder} interface
* <p>{@code ChronicleMapBuilder} is mutable, see a note in {@link net.openhft.chronicle.common.ChronicleHashBuilder} interface
* documentation.
*
* <p>Later in this documentation, "ChronicleMap" means "ChronicleMaps, created by {@code
@@ -17,7 +17,7 @@
package net.openhft.chronicle.map;
import net.openhft.chronicle.TimeProvider;
import net.openhft.chronicle.common.TimeProvider;
import net.openhft.chronicle.serialization.BytesReader;
import net.openhft.chronicle.serialization.MetaBytesInterop;
import net.openhft.chronicle.serialization.MetaBytesWriter;
@@ -1,6 +1,6 @@
package net.openhft.chronicle.map;
import net.openhft.chronicle.StatelessBuilder;
import net.openhft.chronicle.common.StatelessBuilder;
import net.openhft.chronicle.exceptions.IORuntimeException;
import net.openhft.chronicle.exceptions.TimeoutRuntimeException;
import net.openhft.lang.io.ByteBufferBytes;
@@ -155,7 +155,6 @@ class StatelessChronicleMap<K, V> implements ChronicleMap<K, V>, Closeable {
public synchronized int size() {
long sizeLocation = writeEvent(SIZE);
// get the data back from the server
@@ -16,7 +16,7 @@
package net.openhft.chronicle.map;
import net.openhft.chronicle.ChronicleHashErrorListener;
import net.openhft.chronicle.common.ChronicleHashErrorListener;
import net.openhft.chronicle.threadlocal.Provider;
import net.openhft.chronicle.threadlocal.ThreadLocalCopies;
import net.openhft.chronicle.serialization.*;
@@ -1,8 +1,7 @@
package net.openhft.chronicle.set;
import net.openhft.chronicle.ChronicleHash;
import net.openhft.chronicle.common.ChronicleHash;
import java.io.Closeable;
import java.util.Set;
public interface ChronicleSet<E> extends Set<E>, ChronicleHash {
@@ -16,10 +16,10 @@
package net.openhft.chronicle.set;
import net.openhft.chronicle.ChronicleHashBuilder;
import net.openhft.chronicle.ChronicleHashErrorListener;
import net.openhft.chronicle.StatelessBuilder;
import net.openhft.chronicle.TimeProvider;
import net.openhft.chronicle.common.ChronicleHashBuilder;
import net.openhft.chronicle.common.ChronicleHashErrorListener;
import net.openhft.chronicle.common.StatelessBuilder;
import net.openhft.chronicle.common.TimeProvider;
import net.openhft.chronicle.map.*;
import net.openhft.lang.io.serialization.BytesMarshaller;
import net.openhft.lang.io.serialization.BytesMarshallerFactory;