Tabnine Logo
DsoSerializationStrategy$OIS.<init>
Code IndexAdd Tabnine to your IDE (free)

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

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

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);
}
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.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.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(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.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.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;
}
org.terracotta.cache.serializationDsoSerializationStrategy$OIS<init>

Popular methods of DsoSerializationStrategy$OIS

  • readObject

Popular in Java

  • Start an intent from android
  • setScale (BigDecimal)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getExternalFilesDir (Context)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • CodeWhisperer alternatives
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