Tabnine Logo
DsoSerializationStrategy$OIS
Code IndexAdd Tabnine to your IDE (free)

How to use
DsoSerializationStrategy$OIS
in
org.terracotta.cache.serialization

Best Java code snippets using org.terracotta.cache.serialization.DsoSerializationStrategy$OIS (Showing top 17 results out of 315)

origin: org.terracotta.toolkit/terracotta-toolkit-1.0-impl

public T deserialize(final byte[] data) throws IOException, ClassNotFoundException {
 return (T) new OIS(new ByteArrayInputStream(data), oscSerializer).readObject();
}
origin: org.terracotta.toolkit/terracotta-toolkit-1.4-impl

public T deserialize(final byte[] data, ClassLoader loader) throws IOException, ClassNotFoundException {
 return (T) new OIS(new ByteArrayInputStream(data), oscSerializer, loader).readObject();
}
origin: org.terracotta.toolkit/terracotta-toolkit-1.0-impl

public T deserialize(final byte[] data, ClassLoader loader) throws IOException, ClassNotFoundException {
 return (T) new OIS(new ByteArrayInputStream(data), oscSerializer, loader).readObject();
}
origin: org.terracotta.modules/tim-distributed-cache

public T deserialize(final byte[] data) throws IOException, ClassNotFoundException {
 return (T) new OIS(new ByteArrayInputStream(data), oscSerializer).readObject();
}
origin: org.terracotta.toolkit/terracotta-toolkit-1.3-impl

public T deserialize(final byte[] data, ClassLoader loader) throws IOException, ClassNotFoundException {
 return (T) new OIS(new ByteArrayInputStream(data), oscSerializer, loader).readObject();
}
origin: org.terracotta.modules/tim-distributed-cache

public T deserialize(final byte[] data, ClassLoader loader) throws IOException, ClassNotFoundException {
 return (T) new OIS(new ByteArrayInputStream(data), oscSerializer, loader).readObject();
}
origin: org.terracotta.toolkit/terracotta-toolkit-1.3-impl

public T deserialize(final byte[] data) throws IOException, ClassNotFoundException {
 return (T) new OIS(new ByteArrayInputStream(data), oscSerializer).readObject();
}
origin: org.terracotta.toolkit/terracotta-toolkit-1.4-impl

public T deserialize(final byte[] data) throws IOException, ClassNotFoundException {
 return (T) new OIS(new ByteArrayInputStream(data), oscSerializer).readObject();
}
origin: org.terracotta.toolkit/terracotta-toolkit-1.4-impl

public Object localDeserializeStringKey(String key, ClassLoader loader) throws IOException, ClassNotFoundException {
 if (key.length() >= 1 && key.charAt(0) == MARKER) {
  try {
   return readStringKey(new OIS(new StringSerializedObjectInputStream(key), oscSerializer, loader, true));
  } catch (ObjectStreamClassNotLocalException e) {
   return null;
  }
 }
 return key;
}
origin: org.terracotta.toolkit/terracotta-toolkit-1.4-impl

public Object deserializeStringKey(final String key) throws IOException, ClassNotFoundException {
 if (key.length() >= 1 && key.charAt(0) == MARKER) {
  //
  return readStringKey(new OIS(new StringSerializedObjectInputStream(key), oscSerializer));
 }
 return key;
}
origin: org.terracotta.modules/tim-ehcache-2.0

@Override
public AbstractElementData deserialize(byte[] data, ClassLoader loader) throws IOException, ClassNotFoundException {
 OIS ois = new OIS(new ByteArrayInputStream(data), oscSerializer, loader);
 return SerializationModeElementData.create(ois);
}
origin: org.terracotta.modules/tim-ehcache-2.0

@Override
public AbstractElementData deserialize(final byte[] data) throws IOException, ClassNotFoundException {
 OIS ois = new OIS(new ByteArrayInputStream(data), oscSerializer);
 return SerializationModeElementData.create(ois);
}
origin: org.terracotta.modules/tim-ehcache-1.7

@Override
public AbstractElementData deserialize(final byte[] data) throws IOException, ClassNotFoundException {
 OIS ois = new OIS(new ByteArrayInputStream(data), oscSerializer);
 return SerializationModeElementData.create(ois);
}
origin: org.terracotta.toolkit/terracotta-toolkit-1.4-impl

public Object deserializeStringKey(String key, ClassLoader loader) throws IOException, ClassNotFoundException {
 if (key.length() >= 1 && key.charAt(0) == MARKER) {
  //
  return readStringKey(new OIS(new StringSerializedObjectInputStream(key), oscSerializer, loader));
 }
 return key;
}
origin: org.terracotta.toolkit/terracotta-toolkit-1.3-impl

public Object deserializeStringKey(final String key) throws IOException, ClassNotFoundException {
 if (key.length() >= 1 && key.charAt(0) == MARKER) {
  //
  return new OIS(new StringSerializedObjectInputStream(key), oscSerializer).readObject();
 }
 return key;
}
origin: org.terracotta.toolkit/terracotta-toolkit-1.3-impl

public Object deserializeStringKey(String key, ClassLoader loader) throws IOException, ClassNotFoundException {
 if (key.length() >= 1 && key.charAt(0) == MARKER) {
  //
  return new OIS(new StringSerializedObjectInputStream(key), oscSerializer, loader).readObject();
 }
 return key;
}
origin: org.terracotta.modules/tim-ehcache-1.7

@Override
public AbstractElementData deserialize(byte[] data, ClassLoader loader) throws IOException, ClassNotFoundException {
 OIS ois = new OIS(new ByteArrayInputStream(data), oscSerializer, loader);
 return SerializationModeElementData.create(ois);
}
org.terracotta.cache.serializationDsoSerializationStrategy$OIS

Most used methods

  • <init>
  • readObject

Popular in Java

  • Making http post requests using okhttp
  • getSharedPreferences (Context)
  • setScale (BigDecimal)
  • getResourceAsStream (ClassLoader)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • Socket (java.net)
    Provides a client-side TCP socket.
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • Runner (org.openjdk.jmh.runner)
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now